This commit fixes a failure edge case where we accidentally drop forward
declared blocks in the error case. This allows for running the
invalid.mlir test in asan mode now.
Fixes #51387
Paths
| Differential D130132
[mlir][Parser] Fix memory leak when failing to parse a forward declared block ClosedPublic Authored by rriddle on Jul 19 2022, 4:54 PM.
Details Summary This commit fixes a failure edge case where we accidentally drop forward Fixes #51387
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 20 2022, 2:09 AM Closed by commit rGc35a4f58045a: [mlir][Parser] Fix memory leak when failing to parse a forward declared block (authored by rriddle). · Explain WhyJul 25 2022, 5:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 445982 mlir/lib/Parser/Parser.cpp
mlir/test/IR/invalid.mlir
|