Changes in directory llvm/tools/lli:
lli.cpp updated: 1.65 -> 1.66 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- 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.65 llvm/tools/lli/lli.cpp:1.66 --- llvm/tools/lli/lli.cpp:1.65 Mon Jan 8 01:36:34 2007 +++ llvm/tools/lli/lli.cpp Mon Feb 5 15:19:13 2007 @@ -103,7 +103,7 @@ // using the contents of Args to determine argc & argv, and the contents of // EnvVars to determine envp. // - Function *Fn = MP->getModule()->getMainFunction(); + Function *Fn = MP->getModule()->getFunction("main"); if (!Fn) { std::cerr << "'main' function not found in module.\n"; return -1; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits