[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
Mon Jul 29 09:46:40 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL367239: Appending COMPILER_RT_LIBCXX_PATH include path to -isystem for compiler-rt xray (authored by zer0, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D65307?vs=211993&id=212185#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65307/new/
https://reviews.llvm.org/D65307
Files:
compiler-rt/trunk/lib/xray/CMakeLists.txt
Index: compiler-rt/trunk/lib/xray/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/xray/CMakeLists.txt
+++ compiler-rt/trunk/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.212185.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190729/6ba15d48/attachment.bin>
More information about the llvm-commits
mailing list