aengelke wrote: Options guarded behind LLVM_ENABLE_DUMP seem misguided, that macro should only control the existence of dump() methods when assertions are off (cf. CMakeLists.txt). Let's reduce this to debug-only then? https://github.com/llvm/llvm-project/pull/230898