summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-12-29 10:54:46 +0100
committerPavel Labath <pavel@labath.sk>2021-12-29 11:06:30 +0100
commitfdd741dd31814d3d4e5c29185f27a529943050d2 (patch)
tree5f8ef26cb70a1be31f87a1952ca70739d8518977 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent633b002944b966ddb64c85f4a8c017a858afb4fc (diff)
[lldb/linux] Fix a bug in wait status handling
The MonitorCallback function was assuming that the "exited" argument is set whenever a thread exits, but the caller was only setting that flag for the main thread. This patch deletes the argument altogether, and lets MonitorCallback compute what it needs itself. This is almost NFC, since previously we would end up in the "GetSignalInfo failed for unknown reasons" branch, which was doing the same thing -- forgetting about the thread.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions