mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[lli] Honor the --entry-function flag in orc and orc-lazy modes.
Fixes https://llvm.org/PR49906.
This commit is contained in:
parent
a79b75d192
commit
896ef1df5d
@ -1066,7 +1066,7 @@ int runOrcJIT(const char *ProgName) {
|
||||
}
|
||||
|
||||
// Resolve and run the main function.
|
||||
JITEvaluatedSymbol MainSym = ExitOnErr(J->lookup("main"));
|
||||
JITEvaluatedSymbol MainSym = ExitOnErr(J->lookup(EntryFunc));
|
||||
int Result;
|
||||
|
||||
if (TPC) {
|
||||
|
Loading…
Reference in New Issue
Block a user