[RFC] cmake: Error instead of warning and dropping invalid LLVM_USE_SANITIZER

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 17:56:55 PDT 2015


I'm fine with issuing an error instead of the warning. Not sure why CMake
doesn't fail with non-zero exit code, though. Does it continue configuring
the project?

On Mon, Aug 31, 2015 at 5:51 PM, Justin Bogner <mail at justinbogner.com>
wrote:

> Typos in LLVM_USE_SANITIZER=<value> emit a fairly missable warning and
> run with no sanitizers. It would be better to error here, but the
> attached patch doesn't seem to work (cmake still exits zero). Thoughts?
>
>


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


More information about the llvm-commits mailing list