summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/RemoteTarget.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-23 19:57:16 +0000
committerAlp Toker <alp@nuanti.com>2014-01-23 19:57:16 +0000
commitce4ab597965906419ad58b710b10a0ec04b551a0 (patch)
tree2480be6504c6f2a64176074fa8e076e6f855a11a /llvm/tools/lli/RemoteTarget.cpp
parent5930ae6cc2eb1946e7858bd49f1bf602f9c8308e (diff)
downloadbcm5719-llvm-ce4ab597965906419ad58b710b10a0ec04b551a0.tar.gz
bcm5719-llvm-ce4ab597965906419ad58b710b10a0ec04b551a0.zip
Replace the interim lli build fix with something cleaner
Eliminates the LLI_BUILDING_CHILD build hack from r199885. Also add a FIXME to remove code that tricks the tests into passing when the feature fails to work. Please don't do stuff like this, the tests exist for a reason! llvm-svn: 199929
Diffstat (limited to 'llvm/tools/lli/RemoteTarget.cpp')
-rw-r--r--llvm/tools/lli/RemoteTarget.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/tools/lli/RemoteTarget.cpp b/llvm/tools/lli/RemoteTarget.cpp
index c3195e2154c..561055f43bd 100644
--- a/llvm/tools/lli/RemoteTarget.cpp
+++ b/llvm/tools/lli/RemoteTarget.cpp
@@ -22,31 +22,6 @@
using namespace llvm;
-#ifndef LLI_BUILDING_CHILD
-
-// Static methods
-RemoteTarget *RemoteTarget::createRemoteTarget() {
- return new RemoteTarget;
-}
-
-RemoteTarget *RemoteTarget::createExternalRemoteTarget(std::string &ChildName) {
-#ifdef LLVM_ON_UNIX
- return new RemoteTargetExternal(ChildName);
-#else
- return 0;
-#endif
-}
-
-bool RemoteTarget::hostSupportsExternalRemoteTarget() {
-#ifdef LLVM_ON_UNIX
- return true;
-#else
- return false;
-#endif
-}
-
-#endif
-
////////////////////////////////////////////////////////////////////////////////
// Simulated remote execution
//
OpenPOWER on IntegriCloud