dsymutil was incorrectly ignoring aliases to private extern symbols in the MachODebugMapParser. This resulted in spurious warnings about not being able to find symbols.
rdar://49652389
Differential D89444
[dsymutil] Fix handling of aliases to private external symbols JDevlieghere on Oct 14 2020, 8:09 PM. Authored by
Details dsymutil was incorrectly ignoring aliases to private extern symbols in the MachODebugMapParser. This resulted in spurious warnings about not being able to find symbols. rdar://49652389
Diff Detail
Event Timeline
|
bool AliasToPrivateExternal = (SymType & MachO::N_PEXT);
if ((Section == MainBinary.section_end() || Section->isText()) && ! AliasToPrivateExternal)
?