[llvm] [JSON][NFC] Support `print` and `dump` methods in `json::Value` (PR #129302)

Nikolay Panchenko via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 17 09:29:54 PDT 2025


npanchen wrote:

> @npanchen Having this conditional compilation inside a header file breaks the linking phase in out-of-tree projects which are built in debug mode (that is, with the NDEBUG variable not defined) and at the same time link with a release build of LLVM (that is, with the NDEBUG variable defined).

@mscuttari https://github.com/llvm/llvm-project/pull/131639 that should fix it. However, I'm not sure using debug header file and linking with release is what needs to be handled by community.

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


More information about the llvm-commits mailing list