If the -demangle flag is passed to lld, symbol names will now be
demangled in the "referenced by:" message in addition to the referenced
symbol's name, which was already demangled before this change.
Details
- Reviewers
thakis - Group Reviewers
Restricted Project - Commits
- rGfd3041420681: [lld-macho] Demangle location name in undefined symbol diagnostics
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The patch description is a bit misleading: This already happens for undef diags without debug info, and the patch to look at debug info regressed this for the with-debug-info case and this fixes that regression, right?
This already happens for undef diags without debug info, and the patch to look at debug info regressed this for the with-debug-info case and this fixes that regression, right?
I don't think so. Location messages weren't demangled even before my changes; only the names of the duplicate/undefined symbols were.
Ah I see, it was demangled in the "undefined symbol:" line, but not in the "referenced by:" line. Can you say that in the commit message then? (Ie clarify it only fixes the location message, not the main message, which already worked)