[all-commits] [llvm/llvm-project] de2dfc: [LLD] Avoid exiting with a locked mutex NFC
Andrew Ng via All-commits
all-commits at lists.llvm.org
Tue Jan 28 08:45:01 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: de2dfc8b203f0ff903e401acf7cc55552e63a2fd
https://github.com/llvm/llvm-project/commit/de2dfc8b203f0ff903e401acf7cc55552e63a2fd
Author: Andrew Ng <andrew.ng at sony.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M lld/Common/ErrorHandler.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list