diff options
author | Rui Ueyama <ruiu@google.com> | 2017-04-27 04:50:08 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-04-27 04:50:08 +0000 |
commit | 42fca6e7948117d7eb49a7ff2a51169b63e29e0e (patch) | |
tree | 861a54884a67c3bd46b5de066bada17e0bd4c6eb /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | |
parent | c9d82b9e16d0f4c81aefd0cbcdfa476ac2c17634 (diff) | |
download | llvm-42fca6e7948117d7eb49a7ff2a51169b63e29e0e.zip llvm-42fca6e7948117d7eb49a7ff2a51169b63e29e0e.tar.gz llvm-42fca6e7948117d7eb49a7ff2a51169b63e29e0e.tar.bz2 |
Recommend users use readelf instead of objdump to dump .comment contents.
readelf's output is much easier to read than objdump's as you can see below.
$ readelf --string-dump .comment foo
String dump of section '.comment':
[ 1] GCC: (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
[ 2c] clang version 5.0.0
[ 41] Linker: LLD 5.0.0
$ objdump -j .comment -s foo
Contents of section .comment:
0000 00474343 3a202855 62756e74 7520342e .GCC: (Ubuntu 4.
0010 382e342d 32756275 6e747531 7e31342e 8.4-2ubuntu1~14.
0020 30342e33 2920342e 382e3400 636c616e 04.3) 4.8.4.clan
0030 67207665 7273696f 6e20352e 302e3020 g version 5.0.0
0040 004c696e 6b65723a 204c4c44 20352e30 .Linker: LLD 5.0
0050 2e3000 .0.
llvm-svn: 301515
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
0 files changed, 0 insertions, 0 deletions