From 302bc406e814d3b3857cc01368c99a9a9f49ce50 Mon Sep 17 00:00:00 2001 From: Jacob Mai Peng Date: Mon, 4 Mar 2024 12:36:10 -0500 Subject: [PATCH] Add LLVM_DUMP_METHOD so that this method does not get stripped for debug builds Co-authored-by: Tim Gymnich --- enzyme/Enzyme/MLIR/Analysis/Lattice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enzyme/Enzyme/MLIR/Analysis/Lattice.h b/enzyme/Enzyme/MLIR/Analysis/Lattice.h index a10d0b24897..7c9db692c34 100644 --- a/enzyme/Enzyme/MLIR/Analysis/Lattice.h +++ b/enzyme/Enzyme/MLIR/Analysis/Lattice.h @@ -133,7 +133,7 @@ template class SetLattice { return state == other.state && llvm::equal(elements, other.elements); } - void print(llvm::raw_ostream &os) const { + LLVM_DUMP_METHOD void print(llvm::raw_ostream &os) const { if (isUnknown()) { os << ""; } else if (isUndefined()) {