// FIXME: Error out if there are unresolved relocations.
// Get the address of the entry point (_main by default).
- void *MainAddress = Dyld.getSymbolLocalAddress(EntryPoint);
+ void *MainAddress = Dyld.getSymbolAddress(EntryPoint);
if (!MainAddress)
return Error("no definition for '" + EntryPoint + "'");