diff options
author | Peter Klausler <pklausler@nvidia.com> | 2021-12-04 11:30:01 -0800 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2021-12-07 09:42:48 -0800 |
commit | c84616c3b368f1ca679a08d2ce131f01a9f14ce9 (patch) | |
tree | dbe548f4c6216d92d9c9975e83c44c44c88a79b9 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 622d6894801b19e795737e133f5963d248de45af (diff) | |
download | llvm-c84616c3b368f1ca679a08d2ce131f01a9f14ce9.zip llvm-c84616c3b368f1ca679a08d2ce131f01a9f14ce9.tar.gz llvm-c84616c3b368f1ca679a08d2ce131f01a9f14ce9.tar.bz2 |
[flang] Avoid potential deadlock in CloseAll()
When closing all open units, don't hold the unit map lock
over the actual close operations; if one of those aborts,
CloseAll() may be called and then deadlock.
Differential Review: https://reviews.llvm.org/D115184
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions