aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Config/llvm-config.h.cmake
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-02-04 07:03:24 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-02-04 07:03:24 +0000
commit9c02a276049cbd1d1511a88ebc7a22bb33658237 (patch)
treefe1428d48ffb3a0f8dc06216ea2dfe493e7369a7 /include/llvm/Config/llvm-config.h.cmake
parentf839eed5ea2bfd395256d60e15d1e31dbad6ca8b (diff)
More MSan/ASan annotations.
This change lets us bootstrap LLVM/Clang under ASan and MSan. It contains fixes for 2 issues: - X86JIT reads return address from stack, which MSan does not know is initialized. - bugpoint tests run binaries with RLIMIT_AS. This does not work with certain Sanitizers. We are no longer including config.h in Compiler.h with this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/llvm-config.h.cmake')
-rw-r--r--include/llvm/Config/llvm-config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/llvm-config.h.cmake b/include/llvm/Config/llvm-config.h.cmake
index fbc3040dd2..b2be7b4f07 100644
--- a/include/llvm/Config/llvm-config.h.cmake
+++ b/include/llvm/Config/llvm-config.h.cmake
@@ -124,4 +124,7 @@
/* Minor version of the LLVM API */
#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
+/* Define to 1 if you have the <sanitizer/msan_interface.h> header file. */
+#cmakedefine LLVM_HAVE_MSAN_ANNOTATIONS ${HAVE_SANITIZER_MSAN_INTERFACE_H}
+
#endif