[cfe-commits] r64416 - /cfe/trunk/tools/ccc/ccclib/Tools.py

Mike Stump mrs at apple.com
Fri Feb 13 12:26:42 PST 2009


On Feb 13, 2009, at 10:38 AM, Daniel Dunbar wrote:
> My objection is that I frequently build Debug/Release/Release-Asserts
> builds out of the same tree

And?

$ find . -name clang.o -print
./Driver/Debug/clang.o
./Driver/Release/clang.o

There are (at least) two binaries, and each can be different.  What is  
your concern?

> this is why the gcc equivalent is not the same as NDEBUG Mike).

Don't follow that either.  gcc can build with checking or not, and  
clang can build with checking or not.

> It is confusing to have otherwise similar binaries change behavior.

Pretend they behave the same.  If they don't, pretend that is a bug,  
to be fix, kinda like an optimizer bug.



More information about the cfe-commits mailing list