[all-commits] [llvm/llvm-project] 1c5a0c: [lldb] Don't crash when LLDB can't extract the tsa...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Mon Aug 31 02:14:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1c5a0cb1c3bffdae0d73acf8a23e31646b35c596
https://github.com/llvm/llvm-project/commit/1c5a0cb1c3bffdae0d73acf8a23e31646b35c596
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-08-31 (Mon, 31 Aug 2020)
Changed paths:
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
Log Message:
-----------
[lldb] Don't crash when LLDB can't extract the tsan report
Right now all tsan tests are crashing on Linux. The tests were already marked as
expected failures, but since commit 20ce8affce85d added an assert that every
StopInfo needs a non-empty stop description the tests actually started crash
(which is even with an expectedFailure a failed test).
The reason for that is that we never had any stop description when hitting tsan
errors on Linux. Before the assert that just made the test fail, but now the
empty description is hitting the assert. This patch just adds a generic stop
description mentioning tsan to prevent that we hit that assert on platforms
where we don't support extracting the tsan report.
Reviewed By: friss
Differential Revision: https://reviews.llvm.org/D86593
More information about the All-commits
mailing list