[all-commits] [llvm/llvm-project] f369d5: [lldb] avoid assert in threadsanitizer tests on linux
Luboš Luňák via All-commits
all-commits at lists.llvm.org
Thu Sep 3 12:19:00 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f369d51896e1c0f61df253b116c42771479549df
https://github.com/llvm/llvm-project/commit/f369d51896e1c0f61df253b116c42771479549df
Author: Luboš Luňák <l.lunak at centrum.cz>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
Log Message:
-----------
[lldb] avoid assert in threadsanitizer tests on linux
The tests are unsupported on linux, but they assert in
Thread::GetStopDescriptionRaw() because of empty stop reason
description. And it is empty because
InstrumentationRuntimeTSan::NotifyBreakpointHit() fails
to get report from InstrumentationRuntimeTSan::RetrieveReportData(),
which is possibly(?) the reason why this is unsupported on linux.
Add a dummy stop reason description for this case, which changes
the test result from failing to unsupported.
More information about the All-commits
mailing list