[Lldb-commits] [PATCH] D86593: [lldb] Don't crash when LLDB can't extract the tsan report
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 31 02:13:53 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1c5a0cb1c3bf: [lldb] Don't crash when LLDB can't extract the tsan report (authored by teemperor).
Herald added subscribers: lldb-commits, danielkiss.
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86593/new/
https://reviews.llvm.org/D86593
Files:
lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
Index: lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
===================================================================
--- lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
+++ lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
@@ -809,7 +809,9 @@
StructuredData::ObjectSP report =
instance->RetrieveReportData(context->exe_ctx_ref);
- std::string stop_reason_description;
+ std::string stop_reason_description =
+ "unknown thread sanitizer fault (unable to extract thread sanitizer "
+ "report)";
if (report) {
std::string issue_description = instance->FormatDescription(report);
report->GetAsDictionary()->AddStringItem("description", issue_description);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86593.288904.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200831/5cf7a823/attachment.bin>
More information about the lldb-commits
mailing list