[libcxx] r221964 - Add -O3 when testing with UBSAN. This triggers far undefined behaviour

David Blaikie dblaikie at gmail.com
Thu Nov 13 21:59:49 PST 2014


On Thu, Nov 13, 2014 at 6:07 PM, Eric Fiselier <eric at efcs.ca> wrote:

> Author: ericwf
> Date: Thu Nov 13 20:07:52 2014
> New Revision: 221964
>
> URL: http://llvm.org/viewvc/llvm-project?rev=221964&view=rev
> Log:
> Add -O3 when testing with UBSAN. This triggers far undefined behaviour
>

I guess that was "far >more< undefined behavior" ?


>
> Modified:
>     libcxx/trunk/test/lit.cfg
>
> Modified: libcxx/trunk/test/lit.cfg
> URL:
> http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=221964&r1=221963&r2=221964&view=diff
>
> ==============================================================================
> --- libcxx/trunk/test/lit.cfg (original)
> +++ libcxx/trunk/test/lit.cfg Thu Nov 13 20:07:52 2014
> @@ -439,7 +439,7 @@ class Configuration(object):
>              elif san == 'Undefined':
>                  self.compile_flags += ['-fsanitize=undefined',
>                                         '-fno-sanitize=vptr,function',
> -                                       '-fno-sanitize-recover']
> +                                       '-fno-sanitize-recover', '-O3']
>                  self.config.available_features.add('ubsan')
>              else:
>                  self.lit_config.fatal('unsupported value for '
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141113/d563dfe8/attachment.html>


More information about the cfe-commits mailing list