[clang] [llvm] [llvm] properly guard dump methods in Support lib classes (PR #139938)

Andrew Rogers via cfe-commits cfe-commits at lists.llvm.org
Mon May 19 08:14:20 PDT 2025


andrurogerz wrote:

> This approach causes issues when LLVM is built in release mode (with -DNDEBUG) and external projects build against it in debug mode (with -UNDEBUG). I appreciate that it does what the comment says should be done, but I think what the comment says is wrong. Specifically, I now see in our own project:

Taking a look now. Will revert today if there isn't a straight-forward fix.

https://github.com/llvm/llvm-project/pull/139938


More information about the cfe-commits mailing list