summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-11 17:52:43 +0000
committerChris Lattner <sabre@nondot.org>2002-03-11 17:52:43 +0000
commit4cf0079e29237cf74d798108be5bdde7550f5ae4 (patch)
tree00230a14bf36b05504630b60288a6a520854cab4 /llvm/lib/ExecutionEngine/Interpreter
parent6f0d4531efec4e214f099e80741423734fe2666e (diff)
downloadbcm5719-llvm-4cf0079e29237cf74d798108be5bdde7550f5ae4.tar.gz
bcm5719-llvm-4cf0079e29237cf74d798108be5bdde7550f5ae4.zip
Do not link in runtime library anymore, assume that user manually links in
libraries. Code should be generalized to allow lli to take -lc -lm arguments in the future (todo) llvm-svn: 1852
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
index 1cd8b08c1fd..a37224b1b1c 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
@@ -161,6 +161,7 @@ void Interpreter::loadModule(const string &Filename) {
}
CW.setModule(CurMod); // Update Writer
+#if 0
string RuntimeLib = getCurrentExecutablePath();
if (!RuntimeLib.empty()) RuntimeLib += "/";
RuntimeLib += "RuntimeLib.bc";
@@ -173,6 +174,7 @@ void Interpreter::loadModule(const string &Filename) {
std::cerr << "Error loading runtime library '"+RuntimeLib+"': "
<< ErrorMsg << "\n";
}
+#endif
}
OpenPOWER on IntegriCloud