================ @@ -170,4 +170,11 @@ void CheckAssert(SMLoc Loc, Init *Condition, Init *Message) { } } +void CheckDump(SMLoc Loc, Init *Message) { ---------------- fpetrogalli wrote: Yep - I've gone with `dumpMessage` https://github.com/llvm/llvm-project/pull/68793