undefined symbol: __asan_option_detect_stack_use_after_return
I'm trying to compile C++ using clang's address sanitizer to output the sanitize results within a core dump, so I added: CXXFLAGS += -fsanitize=address to have the compiler options: /opt/llvm-3.8.0/bin/clang++ \ --gcc-toolchain=/opt/gcc-5.2.0 -fsanitize=address -DLINUX \ -DLINUX64 -DTB_USE_RCU -DURCU_INLINE_SMALL_FUNCTIONS \ -DU_USING_ICU_NAMESPACE=0 -DNDEBUG -D_POSIX_PTHREAD_SEMANTICS \ -fPIC -D_GNU_SOURCE -DTB_USE_RCU -DTB_USE_RCU \ -D_GLIBCXX_USE_CXX11_ABI=0 -m64 --gcc-toolchain=/opt/gcc-5.2.0 \ -flto=full -std=gnu++14 -D_GLIBCXX_DEPRECATED= -pipe \ -fno-omit-frame-pointer -ffast-math -fno-
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.