aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/UserInput.cpp
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
commit7b83b1db25ab0411e537b7cdac0dc653d4bbc951 (patch)
tree774dd9a369230d6bf136ee454c6bd6b9da752cc9 /lib/ExecutionEngine/Interpreter/UserInput.cpp
parent41c34658129091ae9982d8919176fb6ff3e5a6ac (diff)
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) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/UserInput.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/UserInput.cpp b/lib/ExecutionEngine/Interpreter/UserInput.cpp
index 1cd8b08c1f..a37224b1b1 100644
--- a/lib/ExecutionEngine/Interpreter/UserInput.cpp
+++ b/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
}