Add missed value "libcxxabi" and introduce SANITIZER_TEST_CXX for linking
unit tests using gtest. This needs to be a full C++ library and cannot be
libcxxabi.
Details
Details
- Reviewers
phosek dim srhines vitalybuka - Commits
- rGa05d442391de: [compiler-rt] Cleanup usage of C++ ABI library
rCRT354198: [compiler-rt] Cleanup usage of C++ ABI library
rL354198: [compiler-rt] Cleanup usage of C++ ABI library
rG3cc63cfaa777: [compiler-rt] Cleanup usage of C++ ABI library
rCRT354132: [compiler-rt] Cleanup usage of C++ ABI library
rL354132: [compiler-rt] Cleanup usage of C++ ABI library
Diff Detail
Diff Detail
Event Timeline
compiler-rt/lib/fuzzer/tests/CMakeLists.txt | ||
---|---|---|
24 | I wonder if this should be -pthread, or better yet ${CMAKE_THREAD_LIBS_INIT}? |
compiler-rt/lib/fuzzer/tests/CMakeLists.txt | ||
---|---|---|
24 | I've changed that... |
Comment Actions
I had to revert this in r354153 because it breaks sanitizer-x86_64-linux:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/19915
I'll probably land this without the pthread changes tomorrow or on Monday and clean that up in another revision.
Comment Actions
Revert changes to CMAKE_THREAD_LIBS_INIT.
Turns out my fix in rCT354143 would have been correct, if some previous lines didn't add -nodefaultlibs to CMAKE_REQUIRED_FLAGS...
I wonder if this should be -pthread, or better yet ${CMAKE_THREAD_LIBS_INIT}?