[PATCH] D58144: [xray][tests][RHDTS] Add -lstdc++ after LLVM libs, resolving link error with RHDTS

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 12 13:50:19 PST 2019


tstellar added inline comments.


================
Comment at: lib/xray/tests/CMakeLists.txt:83
 
+list(APPEND XRAY_UNITTEST_LINK_FLAGS -l${SANITIZER_CXX_ABI_LIBRARY})
+
----------------
Any idea why the xray tests need to manually specify the standard library like this instead of letting the compiler driver do it automatically?


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58144/new/

https://reviews.llvm.org/D58144





More information about the llvm-commits mailing list