diff options
author | Razvan Lupusoru <razvan.lupusoru@gmail.com> | 2025-08-01 09:27:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 09:27:36 -0700 |
commit | 2f33b01651b1041682bab363e556ff1a396262fc (patch) | |
tree | ed267c94828ea780efb1d8419681eba8234423ed /llvm/lib/Object/Object.cpp | |
parent | 25c07763f76700fdfe8fa568ae2b1e36bc8a7e84 (diff) | |
download | llvm-2f33b01651b1041682bab363e556ff1a396262fc.zip llvm-2f33b01651b1041682bab363e556ff1a396262fc.tar.gz llvm-2f33b01651b1041682bab363e556ff1a396262fc.tar.bz2 |
[flang] Ensure lowering diagnostic handler does not outlive lowering (#151608)
When the LoweringBridge is created, it registers an MLIR Diagnostics
handler with the MLIRContext. However, it never deregisters it once
lowering is finished.
This fixes this particular scenario. It also makes it so that the
Diagnostics handler is optional.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions