summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/OrcError/RPCError.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-11-20 17:27:44 -0800
committerLang Hames <lhames@gmail.com>2019-11-20 17:34:34 -0800
commit76bcbaafab2db9ee1fa0813463016afb64c5fb41 (patch)
tree015615c0c4016611d31a2ecffb70857e99ca44d5 /llvm/lib/ExecutionEngine/OrcError/RPCError.cpp
parent5c5cf899ef2fda1d3306b1e5c384ae062b80b672 (diff)
downloadbcm5719-llvm-76bcbaafab2db9ee1fa0813463016afb64c5fb41.tar.gz
bcm5719-llvm-76bcbaafab2db9ee1fa0813463016afb64c5fb41.zip
[Orc][Modules] Fix Modules build fallout from a34680a33eb.
In a34680a33eb OrcError.h and Orc/RPC/*.h were split out from the rest of ExecutionEngine in order to eliminate false dependencies for remote JIT targets (see https://reviews.llvm.org/D68732), however this broke modules builds (see https://reviews.llvm.org/D69817). This patch splits these headers out into a separate module, LLVM_OrcSupport, in order to fix the modules build. Fixes <rdar://56377508>.
Diffstat (limited to 'llvm/lib/ExecutionEngine/OrcError/RPCError.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/OrcError/RPCError.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/OrcError/RPCError.cpp b/llvm/lib/ExecutionEngine/OrcError/RPCError.cpp
index b77a526f571..3cf78fd9f7b 100644
--- a/llvm/lib/ExecutionEngine/OrcError/RPCError.cpp
+++ b/llvm/lib/ExecutionEngine/OrcError/RPCError.cpp
@@ -11,6 +11,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/ExecutionEngine/Orc/RPC/RPCUtils.h"
+#include "llvm/Support/Error.h"
+#include "llvm/Support/raw_ostream.h"
+
+#include <system_error>
+#include <string>
char llvm::orc::rpc::RPCFatalError::ID = 0;
char llvm::orc::rpc::ConnectionClosed::ID = 0;
OpenPOWER on IntegriCloud