| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf.
The confusing option should not be used since we aim for improving
compatibility.
Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test
llvm-svn: 359661
|
|
|
|
|
|
|
|
| |
Many of these predate llvm-readobj. With elf-dump we had to match
a relocation to symbol number and symbol number to symbol name or
section number.
llvm-svn: 235015
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We already do this for shstrtab, so might as well do it for strtab. This
extracts the string table building code into a separate class. The idea
is to use it for other object formats too.
I mostly wanted to do this for the general principle, but it does save a
little bit on object file size. I tried this on a clang bootstrap and
saved 0.54% on the sum of object file sizes (1.14 MB out of 212 MB for
a release build).
Differential Revision: http://reviews.llvm.org/D3533
llvm-svn: 207670
|
|
|
|
| |
llvm-svn: 204584
|
|
|
|
| |
llvm-svn: 179361
|
|
|
|
| |
llvm-svn: 136880
|
|
|
|
| |
llvm-svn: 136877
|
|
|
|
| |
llvm-svn: 136875
|
|
|
|
| |
llvm-svn: 136874
|
|
|
|
| |
llvm-svn: 136871
|
|
|
|
|
|
|
| |
gun as does. This makes it a lot easier to compare the output of both
as the addresses are now a lot closer.
llvm-svn: 127972
|
|
|
|
| |
llvm-svn: 122263
|
|
|
|
|
|
| |
directive.
llvm-svn: 119073
|
|
|
|
| |
llvm-svn: 119060
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The failures in r116753 r116756 were caused by a python issue -
Python likes to append 'L' suffix to stringified numbers if the number
is larger than a machine int. Unfortunately, this causes a divergence of
behavior between 32 and 64 bit python versions.
I re-crafted elf-dump/common_dump to take care of these issues by:
1. always printing 0x (makes for easy sed/regex)
2. always print fixed length (exactly 2 + numBits/4 digits long)
by mod ((2^numBits) - 1)
3. left-padded with '0'
There is a residual common routine that is also used by
macho-dump (dataToHex) , so I left the 'section_data' test values alone.
llvm-svn: 116823
|
|
|
|
| |
llvm-svn: 116777
|
|
|
|
|
|
| |
Also updated tests.
llvm-svn: 116753
|
|
llvm-svn: 114382
|