[PATCH] cmake: Avoid "-fno-sanitize-recover is deprecated" warnings when building with ubsan

Alexey Samsonov vonosmas at gmail.com
Wed May 13 18:15:03 PDT 2015


In this specific case I'd just replace "-fno-sanize-recover" with
"-fno-sanitize-recover=all". This should be supported by fresh enough GCC
and Clang, which we generally recommend to use for LLVM_USE_SANITIZER
bootstrap.

On Wed, May 13, 2015 at 5:20 PM, Justin Bogner <mail at justinbogner.com>
wrote:

> I decided to try building with '-DLLVM_USE_SANITIZER=Address;Undefined',
> but it spits out deprecation warnings the whole time compilation is
> happening. The attached patch attempts to fix that by following the
> advice in the deprecation warning.
>
> I don't really grok cmake, but this seems to work. Does it look right?
>
>


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


More information about the llvm-commits mailing list