[llvm-commits] CVS: llvm/tools/lli/lli.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Dec 2 11:00:34 PST 2005
Changes in directory llvm/tools/lli:
lli.cpp updated: 1.51 -> 1.52
---
Log message:
Revert my previous patch which broke due to lazy streaming of functions
from .bc files.
---
Diffs of the changes: (+1 -1)
lli.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/lli/lli.cpp
diff -u llvm/tools/lli/lli.cpp:1.51 llvm/tools/lli/lli.cpp:1.52
--- llvm/tools/lli/lli.cpp:1.51 Thu Dec 1 16:48:23 2005
+++ llvm/tools/lli/lli.cpp Fri Dec 2 13:00:22 2005
@@ -85,7 +85,7 @@
// EnvVars to determine envp.
//
Function *Fn = MP->getModule()->getMainFunction();
- if (!Fn || Fn->isExternal()) {
+ if (!Fn) {
std::cerr << "'main' function not found in module.\n";
return -1;
}
More information about the llvm-commits
mailing list