[LLVMdev] Ideas for making llvm-config --cxxflags more useful

Schlottke-Lakemper, Michael m.schlottke-lakemper at aia.rwth-aachen.de
Mon Aug 3 10:40:32 PDT 2015


The only question I want to raise is, what about NDEBUG? There are headers that conditionalize on NDEBUG, which could lead to ABI incompatibility in the C++ API.

Is it something that can be fixed or would it be too complicated to handle?
It would be nice in general to be able to link a “Non assert” build of Clang with an “Assert" version of  LLVM (and vice-versa).

From my user perspective, it would be desirable to set as few flags as possible. NDEBUG is used outside of clang/llvm as well (including our software), so if it were returned by llvm-config, it would effectively preclude us from using llvm-config (as it would effectively turn off all checks even when desired).

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150803/01cf596a/attachment.html>


More information about the llvm-dev mailing list