diff options
author | Rui Ueyama <ruiu@google.com> | 2017-04-28 20:38:27 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-04-28 20:38:27 +0000 |
commit | 3012b371fd1163ef6d269209bfd8e8dfbae59379 (patch) | |
tree | eb47b59591ac8139eb8a704fc62f5c8f79244c97 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 859f8b544a784798614cf9e0f0cdd99397b046fe (diff) | |
download | llvm-3012b371fd1163ef6d269209bfd8e8dfbae59379.zip llvm-3012b371fd1163ef6d269209bfd8e8dfbae59379.tar.gz llvm-3012b371fd1163ef6d269209bfd8e8dfbae59379.tar.bz2 |
Change the format of the map file.
Previously, we printed out input sections and input files in
separate columns as shown below.
Address Size Align Out In File Symbol
0000000000201000 0000000000000015 4 .text
0000000000201000 000000000000000e 4 .text
0000000000201000 000000000000000e 4 foo.o
0000000000201000 0000000000000000 0 _start
0000000000201005 0000000000000000 0 f(int)
000000000020100e 0000000000000000 0 local
0000000000201010 0000000000000002 4 bar.o
0000000000201010 0000000000000000 0 foo
0000000000201011 0000000000000000 0 bar
This format doesn't make much sense because for each input section,
there's always exactly one input file. This patch changes the format
to this.
Address Size Align Out In Symbol
0000000000201000 0000000000000015 4 .text
0000000000201000 000000000000000e 4 foo.o:(.text)
0000000000201000 0000000000000000 0 _start
0000000000201005 0000000000000000 0 f(int)
000000000020100e 0000000000000000 0 local
0000000000201010 0000000000000002 4 bar.o:(.text)
0000000000201010 0000000000000000 0 foo
0000000000201011 0000000000000000 0 bar
Differential Revision: https://reviews.llvm.org/D32657
llvm-svn: 301683
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions