This patch adds logic to follow a symbol's aliases when the symbol name
cannot be found in the current object file. It checks the main binary
for the symbol's address and queries the current object for its aliases
(symbols with the same address) before printing out a warning.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/dsymutil/MachODebugMapParser.cpp | ||
---|---|---|
389–395 ↗ | (On Diff #116508) | I'm not sure I could construct a test case to trigger a bug here, but I think it would be safer to add as "Type != MachO::N_STSYM" condition to this if. I don't think it's possible to alias static symbols. |