From: Alexey Samsonov Date: Fri, 29 Aug 2014 00:50:36 +0000 (+0000) Subject: Introduce -DLLVM_USE_SANITIZER=Undefined CMake option to build UBSan-ified version... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d4cf7df4788cefc929833e6dffd5381758dae2e;p=clang Introduce -DLLVM_USE_SANITIZER=Undefined CMake option to build UBSan-ified version of LLVM/Clang. I've fixed most of the simple bugs and currently "check-llvm" test suite has 26 failures, and "check-clang" suite has 5 failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216701 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index b5c5628a58..2d946c5a65 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -116,7 +116,7 @@ for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']: config.environment[symbolizer] = os.environ[symbolizer] # Propagate options for sanitizers. -for options in ['ASAN_OPTIONS']: +for options in ['ASAN_OPTIONS', 'UBSAN_OPTIONS']: if options in os.environ: config.environment[options] = os.environ[options]