[all-commits] [llvm/llvm-project] 65aedd: [mlir][python] Fix issue in diagnostic note initia...

rk via All-commits all-commits at lists.llvm.org
Fri Jul 22 13:56:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65aedd338c1edd1ebeee709268d507df7c592e6a
      https://github.com/llvm/llvm-project/commit/65aedd338c1edd1ebeee709268d507df7c592e6a
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/test/python/ir/diagnostic_handler.py

  Log Message:
  -----------
  [mlir][python] Fix issue in diagnostic note initialization

Previously the elements of the notes tuple would be invalid objects when
accessed from a diagnostic handler, resulting in a segfault when used.

Reviewed By: ftynse

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




More information about the All-commits mailing list