[PATCH] D28617: Implement -Map
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 12 14:40:15 PST 2017
pcc added a comment.
I have to say that I prefer this style of output to what I implemented for `/lldmap` in the COFF linker. At some point we should make the COFF linker use this format or something similar.
I wonder whether it would be worth making absolute symbols show up in the map file.
================
Comment at: lld/test/ELF/map-file.s:32
+// CHECK-NEXT: 00201000 0000000e 4 .text
+// CHECK-NEXT: 00201000 0000000e 4 /home/rafael/llvm/build/tools/lld/test/ELF/Output/map-file.s.tmp1.o
+// CHECK-NEXT: 0020100e 00000000 0 local
----------------
You probably want to use regexes to match the paths here and below.
https://reviews.llvm.org/D28617
More information about the llvm-commits
mailing list