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

Justin Bogner mail at justinbogner.com
Wed May 13 17:20:12 PDT 2015


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-sanitize-recover.patch
Type: text/x-patch
Size: 2334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/3159a051/attachment.bin>


More information about the llvm-commits mailing list