[PATCH] D114735: [lld][macho] Stop grouping symbols by sections in mapfile.
Roger Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 30 12:51:45 PST 2021
Roger added inline comments.
================
Comment at: lld/test/MachO/map-file.s:49-51
# CHECK-NEXT: 0x[[#MAIN]] [ 1] _main
# CHECK-NEXT: 0x[[#FOO]] [ 2] _foo
+# CHECK-NEXT: 0x[[#NUMBER]] [ 1] _number
----------------
int3 wrote:
> hmm why did the ordering change? and what does ld64 output here?
Since we are no longer grouping symbols by their sections, the order in which they appear will change. I updated the description to include what ld64's mapfile looks like for this example. Aside from the "compact unwind info" that ld64 has that lld does not, the ordering is the same. WDYT?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114735/new/
https://reviews.llvm.org/D114735
More information about the llvm-commits
mailing list