File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 9
9
#include " lldb/Utility/LLDBLog.h"
10
10
#include " lldb/Utility/Log.h"
11
11
12
- using namespace llvm ;
13
12
using namespace lldb ;
14
13
using namespace lldb_private ;
15
14
@@ -29,8 +28,8 @@ VerboseTrapFrameRecognizer::RecognizeFrame(lldb::StackFrameSP frame_sp) {
29
28
30
29
StackFrameSP most_relevant_frame_sp = thread_sp->GetStackFrameAtIndex (1 );
31
30
31
+ Log *log = GetLog (LLDBLog::Unwind);
32
32
if (!most_relevant_frame_sp) {
33
- Log *log = GetLog (LLDBLog::Unwind);
34
33
LLDB_LOG (
35
34
log ,
36
35
" Failed to find most relevant frame: Hit unwinding bound (1 frame)!" );
@@ -62,7 +61,6 @@ VerboseTrapFrameRecognizer::RecognizeFrame(lldb::StackFrameSP frame_sp) {
62
61
// Replaces "__llvm_verbose_trap: " with "Runtime Error: "
63
62
auto space_position = error_message.find (" " );
64
63
if (space_position == std::string::npos) {
65
- Log *log = GetLog (LLDBLog::Unwind);
66
64
LLDB_LOGF (log ,
67
65
" Unexpected function name format. Expected '<trap prefix>: "
68
66
" <trap message>' but got: '%s'." ,
You can’t perform that action at this time.
0 commit comments