File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
tools/SourceKit/tools/sourcekitd/lib/API Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 30
30
#include " SourceKit/SwiftLang/Factory.h"
31
31
32
32
#include " swift/Basic/ExponentialGrowthAppendingBinaryByteStream.h"
33
+ #include " swift/Basic/LLVMInitialize.h"
33
34
#include " swift/Basic/Mangler.h"
34
35
#include " swift/Basic/Statistic.h"
35
36
#include " swift/Basic/Version.h"
@@ -107,6 +108,7 @@ static SourceKit::Context *GlobalCtx = nullptr;
107
108
void sourcekitd::initializeService (
108
109
StringRef runtimeLibPath, StringRef diagnosticDocumentationPath,
109
110
std::function<void (sourcekitd_response_t )> postNotification) {
111
+ INITIALIZE_LLVM ();
110
112
llvm::EnablePrettyStackTrace ();
111
113
GlobalCtx =
112
114
new SourceKit::Context (runtimeLibPath, diagnosticDocumentationPath,
You can’t perform that action at this time.
0 commit comments