[Mlir-commits] [mlir] [mlir] Cleanup dump() functions. (PR #89216)

Michael Kruse llvmlistbot at llvm.org
Mon Apr 22 02:09:28 PDT 2024


Meinersbur wrote:

> I don't understand much here, but does this mean `OpFoldResult` value can now be dumped in a debugger? That has painted me for years. I hope this fixes that

Yes, this fixes that. `LLVM_DUMP_METHOD` was missing so the linker would remove the `dump()` function from the build. In gdb, you will be able to do:
```
p v.dump()
```
for variables of type `OpFoldResult`.

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


More information about the Mlir-commits mailing list