[llvm] dabc914 - [ORC][examples] Fix include and library dependence for SpeculativeJIT example.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 23:24:46 PST 2020
Author: Lang Hames
Date: 2020-11-13T18:24:34+11:00
New Revision: dabc914d2bd549f910557263fee054abbc56e14f
URL: https://github.com/llvm/llvm-project/commit/dabc914d2bd549f910557263fee054abbc56e14f
DIFF: https://github.com/llvm/llvm-project/commit/dabc914d2bd549f910557263fee054abbc56e14f.diff
LOG: [ORC][examples] Fix include and library dependence for SpeculativeJIT example.
Added:
Modified:
llvm/examples/SpeculativeJIT/CMakeLists.txt
llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
Removed:
################################################################################
diff --git a/llvm/examples/SpeculativeJIT/CMakeLists.txt b/llvm/examples/SpeculativeJIT/CMakeLists.txt
index f9d605720670..2a6ad12fa5da 100644
--- a/llvm/examples/SpeculativeJIT/CMakeLists.txt
+++ b/llvm/examples/SpeculativeJIT/CMakeLists.txt
@@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
Core
IRReader
OrcJIT
+ OrcTargetProcess
ExecutionEngine
Support
nativecodegen
diff --git a/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp b/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
index 24cf0847558f..27e398e8bba4 100644
--- a/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
+++ b/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
@@ -8,6 +8,7 @@
#include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
#include "llvm/ExecutionEngine/Orc/SpeculateAnalyses.h"
#include "llvm/ExecutionEngine/Orc/Speculation.h"
+#include "llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h"
#include "llvm/ExecutionEngine/SectionMemoryManager.h"
#include "llvm/IRReader/IRReader.h"
#include "llvm/Support/CommandLine.h"
More information about the llvm-commits
mailing list