Obj-C symbols may have spaces and colons, which our previous order file
parser would be confused by. The order file format has made the very unfortunate
choice of using colons for its delimiters, which means that we have to use
heuristics to determine if a given colon is part of a symbol or not...
Details
Details
- Reviewers
thakis - Group Reviewers
Restricted Project - Commits
- rG5f9896d3b23c: [lld-macho] Support Obj-C symbols in order files
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/test/MachO/order-file.s | ||
---|---|---|
8 | I'm not sure why objdump decided to start printing _bar instead of our foo symbol, but I guess it doesn't really matter (they alias to the same address) |
I'm not sure why objdump decided to start printing _bar instead of our foo symbol, but I guess it doesn't really matter (they alias to the same address)