Update mlir GDB printers
authorChristian Sigg <csigg@google.com>
Wed, 5 Jan 2022 10:32:01 +0000 (11:32 +0100)
committerChristian Sigg <csigg@google.com>
Thu, 6 Jan 2022 21:20:25 +0000 (22:20 +0100)
commit635f8f3c95dd7e4460555997503abbf7da3b1203
treef7d9a5b34a71cb81469f4b0eaf69a2283fb21afe
parent0f5edb9d63b871396e773224ca9005b8c2c7520d
Update mlir GDB printers

Update prettyprinters.py to match MLIR changes.

This has gone unnoticed because no build bot is running tests with debug info.

I will look into what we can do about this separately. There is
https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/,
from Apple. The Debug Info tests are failing despite the green result.

See https://github.com/llvm/llvm-project/issues/48872.

Note: the llvm-support.gdb test only works with Debug,
but not RelWithDebInfo because some checked symbols are stripped.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D116646
cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.gdb
mlir/utils/gdb-scripts/prettyprinters.py