[cfe-dev] [RFC] Differentiating between clang that's build with/without assertions using version information

Alex L via cfe-dev cfe-dev at lists.llvm.org
Fri Feb 22 18:46:08 PST 2019


Hi,

I would like to add an extension to Clang's version output that adds a
"(+asserts)" string when Clang is built with assertions enabled. This is a
useful way to differentiate between clang binaries that have assertions
enabled and the ones that don't if they are based on the same version.

I put up a patch for review:
https://reviews.llvm.org/D58559

Please let me know what you think.
Cheers,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190222/317021ee/attachment.html>


More information about the cfe-dev mailing list