[Lldb-commits] [PATCH] D61473: ExpressionParser: only force link MCJIT when needed
Saleem Abdulrasool via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 3 08:36:00 PDT 2019
compnerd updated this revision to Diff 198020.
compnerd added a comment.
Move the inclusion as suggested.
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61473/new/
https://reviews.llvm.org/D61473
Files:
source/API/SystemInitializerFull.cpp
source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Index: source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
===================================================================
--- source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
+++ source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
@@ -41,11 +41,6 @@
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/TargetSelect.h"
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wglobal-constructors"
-#include "llvm/ExecutionEngine/MCJIT.h"
-#pragma clang diagnostic pop
-
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/DynamicLibrary.h"
Index: source/API/SystemInitializerFull.cpp
===================================================================
--- source/API/SystemInitializerFull.cpp
+++ source/API/SystemInitializerFull.cpp
@@ -114,6 +114,11 @@
#include "llvm/Support/TargetSelect.h"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wglobal-constructors"
+#include "llvm/ExecutionEngine/MCJIT.h"
+#pragma clang diagnostic pop
+
#include <string>
using namespace lldb_private;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61473.198020.patch
Type: text/x-patch
Size: 1110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190503/f637d5f4/attachment-0001.bin>
More information about the lldb-commits
mailing list