[llvm] [JSON][NFC] Move print method out of NDEBUG || DUMP (PR #131639)
Michele Scuttari via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 17 11:40:06 PDT 2025
mscuttari wrote:
> Could you link to the artifacts/perhaps provide more details here about the caller, link error, etc?
Sure, here is a reproducer for the issue that this PR aims to fix: https://gist.github.com/mscuttari/2b69f2bcbc6b0e22527d07eae10ead1e
To reproduce the issue, LLVM needs to be built in Release mode and the project in Debug mode. Of course you also need to specify the `LLVM_DIR` variable for CMake.
The error is the classic undefined reference message, in this case related to the new `print` method (see #129302), which was `ifdef`ed together with the `dump` one.
https://github.com/llvm/llvm-project/pull/131639
More information about the llvm-commits
mailing list