[LLVMdev] Opinions Wanted: New asm Comments
David A. Greene
greened at obbligato.org
Fri Jul 15 15:43:17 PDT 2011
Chris Lattner <clattner at apple.com> writes:
>> Ok, in that case I think we'll need a TableGen flag to control whether
>> this information gets generated. A debug build would include it, a
>> release build would not.
> tblgen could unconditionally generate code that is protected by NDEBUG.
All right, that's doable.
>>> I agree that not all compiler hackers will want to see it, I'd
>>> suggest adding a cl::opt that is only even available when built with
>>> assertions on.
>> Assertions or Debug? I would think we'd want it in the latter.
> Assertions (which are on by default in a debug build) is the knob we
> have to play with.
Ah, because of NDEBUG. Ok, makes sense. Not much of a loss for
Debug-Assertions. I doubt many people debug with it.
More information about the llvm-dev