Displaying 1 result from an estimated 1 matches for "addentrypointloadcommand".
2012 Aug 01
1
[LLVMdev] lld MachO addEntryPointLoadCommand
Should this function return true when _outputkind is
outputDynamicExecutable?
WriterOptionsMachO.cpp:
bool WriterOptionsMachO::addEntryPointLoadCommand() const {
switch ( _outputkind ) {
case outputDynamicExecutable:
// Only main executables have an entry point
return false;
case outputDylib:
case outputBundle:
case outputObjectFile:
return false;
}
llvm_unreachable("unknown outputkind");...