Skip to content

Commit e15e885

Browse files
committed
[lldb] Fix non-Swift build due to Swift reference in SBFrame.cpp
1 parent a5e784c commit e15e885

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/source/API/SBFrame.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@
5454
#include "llvm/Support/PrettyStackTrace.h"
5555

5656
// BEGIN SWIFT
57+
#include "lldb/Target/LanguageRuntime.h"
58+
#ifdef LLDB_ENABLE_SWIFT
5759
#include "Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.h"
60+
#endif
5861
// END SWIFT
5962

6063
using namespace lldb;

0 commit comments

Comments
 (0)