This makes our error messages more informative. But the bigger motivation is for
LTO symbol resolution, which will be in an upcoming diff. The changes in this
one are largely mechanical.
Details
- Reviewers
smeenai - Group Reviewers
Restricted Project - Commits
- rG163dcd851309: [lld-macho] Associate each Symbol with an InputFile
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM
lld/MachO/SymbolTable.h | ||
---|---|---|
37–38 | Pretty sure I've asked you this before (but I can't remember the answer): how come some parameters are named in the declaration and some aren't? |
lld/MachO/SymbolTable.h | ||
---|---|---|
37–38 | my personal preference is to only include names if they convey information that's not already in the type name :) so StringRef name is useful, but InputSection *isec seems redundant |
lld/MachO/SymbolTable.h | ||
---|---|---|
37–38 | Ah, right ... sounds good. |
Hi @int3 , It looks like either this or https://reviews.llvm.org/D95265 is causing linking issues on Windows due to some MachO changes. Could I have you take a look?
Here's a buildbot result for reference:
http://lab.llvm.org:8011/#/builders/83/builds/3332
Pretty sure I've asked you this before (but I can't remember the answer): how come some parameters are named in the declaration and some aren't?