14
14
#include " lldb/Core/Module.h"
15
15
#include " lldb/Expression/UserExpression.h"
16
16
#include " lldb/Target/InstrumentationRuntimeStopInfo.h"
17
- #include " lldb/Utility/LLDBLog.h"
18
17
#include " lldb/ValueObject/ValueObject.h"
19
18
20
19
using namespace lldb ;
@@ -85,8 +84,6 @@ ReportRetriever::RetrieveReportData(const ProcessSP process_sp) {
85
84
options.SetLanguage (eLanguageTypeObjC_plus_plus);
86
85
87
86
if (auto m = GetPreferredAsanModule (process_sp->GetTarget ())) {
88
- LLDB_LOGF (GetLog (LLDBLog::Expressions), " Using preferred ASAN module: %s" ,
89
- m->GetFileSpec ().GetFilename ().AsCString (" " ));
90
87
SymbolContextList sc_list;
91
88
sc_list.Append (SymbolContext (std::move (m)));
92
89
options.SetPreferredSymbolContexts (std::move (sc_list));
@@ -108,16 +105,11 @@ ReportRetriever::RetrieveReportData(const ProcessSP process_sp) {
108
105
return StructuredData::ObjectSP ();
109
106
}
110
107
111
- LLDB_LOGF (GetLog (LLDBLog::Expressions),
112
- " Successfully ran ASAN report retriever utility expression" );
113
-
114
108
int present = return_value_sp->GetValueForExpressionPath (" .present" )
115
109
->GetValueAsUnsigned (0 );
116
110
if (present != 1 )
117
111
return StructuredData::ObjectSP ();
118
112
119
- LLDB_LOGF (GetLog (LLDBLog::Expressions), " Retrieving report.1" );
120
-
121
113
addr_t pc =
122
114
return_value_sp->GetValueForExpressionPath (" .pc" )->GetValueAsUnsigned (0 );
123
115
addr_t bp =
@@ -143,8 +135,6 @@ ReportRetriever::RetrieveReportData(const ProcessSP process_sp) {
143
135
if (!dict)
144
136
return StructuredData::ObjectSP ();
145
137
146
- LLDB_LOGF (GetLog (LLDBLog::Expressions), " Retrieving report.2" );
147
-
148
138
dict->AddStringItem (" instrumentation_class" , " AddressSanitizer" );
149
139
dict->AddStringItem (" stop_type" , " fatal_error" );
150
140
dict->AddIntegerItem (" pc" , pc);
0 commit comments