In LC_DYSYMTAB, private externs were still emitted as exported symbols instead
of as locals.
Fixes PR50373. See bug for details.
Paths
| Differential D102662
[lld/mac] Correctly set nextdefsym ClosedPublic Authored by thakis on May 17 2021, 7:30 PM.
Details
Summary In LC_DYSYMTAB, private externs were still emitted as exported symbols instead Fixes PR50373. See bug for details.
Diff Detail Event Timelinethakis added a parent revision: D102661: [lld/mac] Propagate -(un)exported_symbol(s_list) to privateExtern in Driver.
This revision is now accepted and ready to land.May 18 2021, 9:54 AM Closed by commit rGb4ead2c37bcb: [lld/mac] Correctly set nextdefsym (authored by thakis). · Explain WhyMay 18 2021, 10:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 346140 lld/MachO/SyntheticSections.cpp
lld/test/MachO/symtab.s
|
can we just inline this into a simple check against defined->privateExtern? The assert doesn't seem very useful (we already check it once during InputFile::parseSymbols)