summaryrefslogtreecommitdiff
path: root/tools/lli/RemoteTarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lli/RemoteTarget.cpp')
-rw-r--r--tools/lli/RemoteTarget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lli/RemoteTarget.cpp b/tools/lli/RemoteTarget.cpp
index f07534d161..c3195e2154 100644
--- a/tools/lli/RemoteTarget.cpp
+++ b/tools/lli/RemoteTarget.cpp
@@ -22,6 +22,8 @@
using namespace llvm;
+#ifndef LLI_BUILDING_CHILD
+
// Static methods
RemoteTarget *RemoteTarget::createRemoteTarget() {
return new RemoteTarget;
@@ -43,6 +45,7 @@ bool RemoteTarget::hostSupportsExternalRemoteTarget() {
#endif
}
+#endif
////////////////////////////////////////////////////////////////////////////////
// Simulated remote execution