[PATCH] D65307: Appending COMPILER_RT_LIBCXX_PATH include path to -isystem for compiler-rt xray
Puyan Lotfi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 13:07:34 PDT 2019
plotfi updated this revision to Diff 211993.
plotfi added a comment.
Removing check for libcxxabi as per @compnerd 's suggestion
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65307/new/
https://reviews.llvm.org/D65307
Files:
lib/xray/CMakeLists.txt
Index: lib/xray/CMakeLists.txt
===================================================================
--- lib/xray/CMakeLists.txt
+++ lib/xray/CMakeLists.txt
@@ -118,6 +118,9 @@
include_directories(..)
include_directories(../../include)
+if(COMPILER_RT_USE_LIBCXX)
+ set(SANITIZER_COMMON_CFLAGS "${SANITIZER_COMMON_CFLAGS} -isystem ${COMPILER_RT_LIBCXX_PATH}/include")
+endif()
set(XRAY_CFLAGS ${SANITIZER_COMMON_CFLAGS})
set(XRAY_COMMON_DEFINITIONS XRAY_HAS_EXCEPTIONS=1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65307.211993.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190726/54656cd1/attachment.bin>
More information about the llvm-commits
mailing list