diff options
author | Andrew Ng <andrew.ng@sony.com> | 2020-01-22 17:08:09 +0000 |
---|---|---|
committer | Andrew Ng <andrew.ng@sony.com> | 2020-01-28 16:44:44 +0000 |
commit | de2dfc8b203f0ff903e401acf7cc55552e63a2fd (patch) | |
tree | 345a668337f533485f57e2ac176671229ffa199f /llvm/lib/Object/WasmObjectFile.cpp | |
parent | f117f2cc7837fbca75bf97fcca2a55423f3023ca (diff) | |
download | llvm-de2dfc8b203f0ff903e401acf7cc55552e63a2fd.zip llvm-de2dfc8b203f0ff903e401acf7cc55552e63a2fd.tar.gz llvm-de2dfc8b203f0ff903e401acf7cc55552e63a2fd.tar.bz2 |
[LLD] Avoid exiting with a locked mutex NFC
In ErrorHandler::error(), rearrange code to avoid calling exitLld with
the mutex locked. Acquire mutex lock when flushing the output streams in
exitLld.
Differential Revision: https://reviews.llvm.org/D73281
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions