[LLVMdev] lld MachO addEntryPointLoadCommand
Sid Manning
sidneym at codeaurora.org
Wed Aug 1 10:06:49 PDT 2012
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");
}
--
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum
More information about the llvm-dev
mailing list