Erase NDBEUG from all Release targets

Yaron Keren yaron.keren at
Thu Sep 19 08:50:11 PDT 2013

While patching HandleLLVMOptions, I noticed that NDBEUG is removed only
from the release compile flags but not from the minimum size release or the
release with debug info.  With these targets Visual C++ warns about NDEBUG
being defined and undefined.

The attached patch addresses the issue.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-HandleLLVMOptions-NDEBUG.diff
Type: application/octet-stream
Size: 874 bytes
Desc: not available
URL: <>

More information about the llvm-commits mailing list