r216701 - Introduce -DLLVM_USE_SANITIZER=Undefined CMake option to build UBSan-ified version of LLVM/Clang.

Alexey Samsonov vonosmas at gmail.com
Fri Aug 29 10:41:21 PDT 2014


On Thu, Aug 28, 2014 at 7:41 PM, Nico Weber <thakis at chromium.org> wrote:

> On Thu, Aug 28, 2014 at 5:50 PM, Alexey Samsonov <vonosmas at gmail.com>
> wrote:
>
>> Author: samsonov
>> Date: Thu Aug 28 19:50:36 2014
>> New Revision: 216701
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=216701&view=rev
>> Log:
>> 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.
>>
>
> Is there a bug for the remaining failures? Is there a bot that builds in
> this config?
>

Yes, yesterday I added this configuration to our bootstrap bot (
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap), but
Clang failed to build with ubsan there due to reported error in tablegen.
I'll investigate this and create a bug when Clang successfully
builds and runs the test suite.


>
>
>>
>> Modified:
>>     cfe/trunk/test/lit.cfg
>>
>> Modified: cfe/trunk/test/lit.cfg
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=216701&r1=216700&r2=216701&view=diff
>>
>> ==============================================================================
>> --- cfe/trunk/test/lit.cfg (original)
>> +++ cfe/trunk/test/lit.cfg Thu Aug 28 19:50:36 2014
>> @@ -116,7 +116,7 @@ for symbolizer in ['ASAN_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]
>>
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>


-- 
Alexey Samsonov
vonosmas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140829/77e4e0c0/attachment.html>


More information about the cfe-commits mailing list