[all-commits] [llvm/llvm-project] e851e5: [mlir] Fix TypeID lookup in GDB pretty printers.

Christian Sigg via All-commits all-commits at lists.llvm.org
Mon Oct 26 23:12:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e851e566d4aee6770ac4f347b80373492d46e674
      https://github.com/llvm/llvm-project/commit/e851e566d4aee6770ac4f347b80373492d46e674
  Author: Christian Sigg <csigg at google.com>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M mlir/utils/gdb-scripts/prettyprinters.py

  Log Message:
  -----------
  [mlir] Fix TypeID lookup in GDB pretty printers.

The TypeID instance was moved in D89153.

It wasn't caught that it broke MLIR pretty printers because pre-merge checks don't run check-debuginfo.

Avoid disabling all MLIR printers in case this happens again by catching the exception.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D90191




More information about the All-commits mailing list