]> granicus.if.org Git - clang/commitdiff
Introduce -DLLVM_USE_SANITIZER=Undefined CMake option to build UBSan-ified version...
authorAlexey Samsonov <vonosmas@gmail.com>
Fri, 29 Aug 2014 00:50:36 +0000 (00:50 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Fri, 29 Aug 2014 00:50:36 +0000 (00:50 +0000)
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

test/lit.cfg

index b5c5628a5806b1451c72d2aeb23d3c1f19c57234..2d946c5a65defeec9be3efc60a33b56263d8531c 100644 (file)
@@ -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]