• Home
  • History
  • Annotate
  • only in /external/llvm/tools/llvm-readobj/
History log of /external/llvm/tools/llvm-readobj/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
RMWinEHPrinter.cpp
RMWinEHPrinter.h
ndroid.mk
MakeLists.txt
OFFDumper.cpp
LFDumper.cpp
rror.cpp
rror.h
achODumper.cpp
bjDumper.h
treamWriter.h
in64EHDumper.cpp
in64EHDumper.h
lvm-readobj.cpp
lvm-readobj.h
075c621d834af7ffc32d2067fadb147cc1758b99 02-Jun-2014 Chris Wailes <chriswailes@google.com> Adds the ability to run the llvm test suite in-tree.

This was accomplished by building additional tools and hand-generating
several files that are auto-generated by the configuration system when
LLVM is built out-of-tree. The LTO, Interpreter, and DebugInfo libraries
are now being compiled, and several source files were added to existing
compilation targets.

To run these tests you must first run build/envsetup.sh and have used
lunch to select a target. You can then launch the test script by running:

cd $ANDROID_BUILD_TOP/external/llvm && ./android_test.sh

Bug: 15433215

Change-Id: I43d87de0a4620cdd46c8d0f825dd4428e8409702
ndroid.mk
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
RMAttributeParser.cpp
RMEHABIPrinter.h
MakeLists.txt
OFFDumper.cpp
LFDumper.cpp
treamWriter.h
in64EHDumper.cpp
in64EHDumper.h
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
RMAttributeParser.cpp
RMAttributeParser.h
RMEHABIPrinter.h
MakeLists.txt
OFFDumper.cpp
LFDumper.cpp
rror.cpp
rror.h
achODumper.cpp
bjDumper.cpp
bjDumper.h
treamWriter.h
lvm-readobj.cpp
lvm-readobj.h
fe9ce427d076627beed834d5c322e61323dfd1fc 11-Nov-2013 Simon Atanasyan <simon@atanasyan.com> Add support for DT_VERxxx and DT_MIPS_xxx .dynamic section entries to the
llvm-readobj.

The patch reviewed by Michael Spencer.
http://llvm-reviews.chandlerc.com/D2113

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194421 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
c84c742eddc0c57c34271471f332c9857d79e672 07-Oct-2013 Simon Atanasyan <simon@atanasyan.com> [Mips] Teach llvm-readobj to print MIPS-specific ELF program headers.

The patch reviewed by Michael Spencer.
http://llvm-reviews.chandlerc.com/D1846

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192093 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
8819c84aed10777ba91d4e862229882b8da0b272 01-Oct-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove several unused variables.

Patch by Alp Toker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191757 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
achODumper.cpp
766f25306af343fb2784350cb4d8cd9ca180f0d3 15-Sep-2013 Benjamin Kramer <benny.kra@googlemail.com> ELF: Add support for the exclude section bit for gas compat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190769 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
6217187ff202cb919257abc32782faa35c29f5d9 03-Sep-2013 Joerg Sonnenberger <joerg@bec.de> Print string value for DT_RPATH and DT_RUNPATH.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189829 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
5510728d28bb1ee04abc32da3d21b7df12948053 01-Sep-2013 Charles Davis <cdavis5x@gmail.com> Move everything depending on Object/MachOFormat.h over to Support/MachO.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189728 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
f69a29b23a116a3520f185054290c445abf9aa62 27-Aug-2013 Charles Davis <cdavis5x@gmail.com> Revert "Fix the build broken by r189315." and "Move everything depending on Object/MachOFormat.h over to Support/MachO.h."

This reverts commits r189319 and r189315. r189315 broke some tests on what I
believe are big-endian platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189321 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
9c3dd1b0d1e96ef408b68da3b06c6ebd6c943601 27-Aug-2013 Charles Davis <cdavis5x@gmail.com> Move everything depending on Object/MachOFormat.h over to Support/MachO.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189315 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
a9232f7f5d00d900eb10a39e0b7786954d6eac69 09-Aug-2013 Benjamin Kramer <benny.kra@googlemail.com> Remove byte order mark from source file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188066 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
081a1941b595f6294e4ce678fd61ef56a2ceb51e 09-Aug-2013 Michael J. Spencer <bigcheesegs@gmail.com> [Object] Split the ELF interface into 3 parts.

* ELFTypes.h contains template magic for defining types based on endianess, size, and alignment.
* ELFFile.h defines the ELFFile class which provides low level ELF specific access.
* ELFObjectFile.h contains ELFObjectFile which uses ELFFile to implement the ObjectFile interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188022 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
lvm-readobj.cpp
6fccaafd8be0eb7619b5a210387b0d1254ef4174 25-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove the mblaze backend from llvm.

Approval in here http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/064169.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187145 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
2f6c0484d68270f09eecac03b7e56053153203f3 20-Jul-2013 Rui Ueyama <ruiu@google.com> Retry submitting r186623: COFFDumper: Dump data directory entries.

The original change was rolled back in r186627 because of test
failures on the big endian machine. I believe I fixed the issue
so re-submitting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186734 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
9d1359453fc5db2ff9fb334fe205a14c30ed244d 19-Jul-2013 Rui Ueyama <ruiu@google.com> Revert "COFFDumper: Dump data directory entries."

Because it broke s390x and ppc64-linux buildbots. This reverts commit r186623.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186627 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
06bd2061fc40bfa3560bc200c396595cc4ed3a2e 19-Jul-2013 Rui Ueyama <ruiu@google.com> COFFDumper: Dump data directory entries.

Summary:
Dump optional data directory entries in the PE/COFF header, so that
we can test the output of LLD linker. This patch updates the test binary
file, but the source of the binary is the same. I just re-linked the file.
I don't know how the previous file was linked, but the previous file did
not have any data directory entries for some reason.

Reviewers: rafael

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1148

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186623 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
0bb8aa29d81b9161cc8a88354cbc24bbebd8d29e 06-Jul-2013 Benjamin Kramer <benny.kra@googlemail.com> COFFDumper: Print uint64_t with the right format string.

I wish we could typecheck llvm::format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185766 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
5cd6db9a514ccb37df20455e543c88df5594eec0 17-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't link with the archive library programs that don't use it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184081 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
LVMBuild.txt
akefile
4bf771b4e6d37ae1d6ae08ea27c4070a3a09784d 12-Jun-2013 Rui Ueyama <ruiu@google.com> readobj: Dump PE/COFF optional records.

These records are mandatory for executables and are used by the loader.

Reviewers: rafael

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D939

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183852 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
6c1202c459ffa6d693ad92fa84e43902bc780bca 05-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Handle relocations that don't point to symbols.

In ELF (as in MachO), not all relocations point to symbols. Represent this
properly by using a symbol_iterator instead of a SymbolRef. Update llvm-readobj
ELF's dumper to handle relocatios without symbols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183284 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
LFDumper.cpp
achODumper.cpp
bed93b0de197c6b64357068ae8e1a883ddbb0e94 09-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Introduce convenience typedefs for the 4 ELF object types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181509 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
167957fa095bc7200b908e6e142be3e604bcfeea 09-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Change getRelocationAdditionalInfo to be ELF only.

It was only implemented for ELF where it collected the Addend, so this
patch also renames it to getRelocationAddend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181502 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
1aef163a6815e7bff675f83ddec8b063d6082e86 04-May-2013 Amara Emerson <amara.emerson@arm.com> Revert r181009.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181079 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
bjDumper.h
lvm-readobj.cpp
5d446e61d992f105a05aade62d5305fd8a346081 03-May-2013 Amara Emerson <amara.emerson@arm.com> Add support for reading ARM ELF build attributes.

Build attribute sections can now be read if they exist via ELFObjectFile, and
the llvm-readobj tool has been extended with an option to dump this information
if requested. Regression tests are also included which exercise these features.

Also update the docs with a fixed ARM ABI link and a new link to the Addenda
which provides the build attributes specification.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181009 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
bjDumper.h
lvm-readobj.cpp
956ca7265c697107708468b7e1b2fd21f4185bae 25-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Clarify getRelocationAddress x getRelocationOffset a bit.

getRelocationAddress is for dynamic libraries and executables,
getRelocationOffset for relocatable objects.

Mark the getRelocationAddress of COFF and MachO as not implemented yet. Add a
test of ELF's. llvm-readobj -r now prints the same values as readelf -r.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180259 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
lvm-readobj.cpp
802fe9340d032d20195b00334356cf63b303386c 24-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Use pointers to iterate over symbols.

While here, don't report a dummy symbol for relocations that don't have symbols.
We used to says such relocations were for the first defined symbol, but now we
return end_symbols(). The llvm-readobj output change agrees with otool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180214 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
c74142ab15d3d3cdf49214dc65b76cb932a9c1a6 22-Apr-2013 Nico Rieck <nico.rieck@gmail.com> llvm-readobj: Dump more COFF auxiliary records

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180007 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
92f5e268c9aad68ed58198ad14f4d32fd26c5db6 22-Apr-2013 Nico Rieck <nico.rieck@gmail.com> llvm-readobj: Check for null section pointer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180006 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
48831939a83915939f759bdbe95404499169bc85 22-Apr-2013 Nico Rieck <nico.rieck@gmail.com> llvm-readobj: Do not print NULL StringRefs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180005 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
LFDumper.cpp
achODumper.cpp
fd7aa38e304a09fa0ef51b85b773b649b7e58c5e 18-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> At Jim Grosbach's request detemplate Object/MachO.h.

We are still able to handle mixed endian objects by swapping one struct at a
time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179778 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
c7f424d338754836906833b69da1ca56843feb71 15-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove getters now that we can specialize structs on the host endianness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179534 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
da2a2372c6ae715befae7f086afe769dd80814f3 13-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Finish templating MachObjectFile over endianness.

We are now able to handle big endian macho files in llvm-readobject. Thanks to
David Fang for providing the object files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179440 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
cf3b55ab18b6d0f5b658e746b57ec3cf193d5688 12-Apr-2013 Nico Rieck <nico.rieck@gmail.com> Teach llvm-readobj to print ELF program headers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179363 91177308-0d34-0410-b5e6-96231b3b80d8
LFDumper.cpp
bjDumper.h
lvm-readobj.cpp
1c8dfa5e90fa7ba5d351d2e2511dc1495c83f6fd 12-Apr-2013 Nico Rieck <nico.rieck@gmail.com> Add -expand-relocs to llvm-readobj

This option expands shown relocations from single line to a dictionary
format:

Relocation {
Offset: 0x4
Type: R_386_32 (1)
Symbol: sym
Info: 0x0
}

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179359 91177308-0d34-0410-b5e6-96231b3b80d8
OFFDumper.cpp
LFDumper.cpp
achODumper.cpp
lvm-readobj.cpp
lvm-readobj.h
e292347503cd7598429c08f9984ab3e0a44ab8a3 12-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Add 179294 back, but don't use bit fields so that it works on big endian hosts.

Original message:

Print more information about relocations.

With this patch llvm-readobj now prints if a relocation is pcrel, its length,
if it is extern and if it is scattered.

It also refactors the code a bit to use bit fields instead of shifts and
masks all over the place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179345 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
59a8b5a8f09ae4c4f3b0e3d8025c6b4cf3ca1f1a 11-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Revert my last two commits while I debug what is wrong in a big endian host.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179303 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
4edf092787cab37d46da96eb1e9df0677ca30b1d 11-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Print more information about relocations.

With this patch llvm-readobj now prints if a relocation is pcrel, its length,
if it is extern and if it is scattered.

It also refactors the code a bit to use bit fields instead of shifts and
masks all over the place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179294 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
b08c6df6787971502bd51e30b0f1038c1ea0dc2c 10-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Template MachOObjectFile over endianness too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179179 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
f6cfc15705140cc958b784a1bc98f7f0f09be6be 09-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Convert MachOObjectFile to a template.

For now it is templated only on being 64 or 32 bits. I will add little/big
endian next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179097 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
335f1d46d82a4d6b5a7317ccc73178a47b62fc25 08-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Template the MachO types over the word size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179051 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
0be4eafd9c90d5e584b951fe2970f024341486c3 07-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove two uses of getObject.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178985 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
1efa60453be658242f468f4be4f8d4855ace60d1 07-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove usage of InMemoryStruct in getSymbol.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178984 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
7ea2e4869496fb27876d35b93fe99397be29b978 07-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove a use of InMemoryStruct in llvm-readobj.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178981 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
305b826f92e0dc7b670238e7caa35ab6e1cf341a 07-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Make getObject const. Remove a const_cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178980 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
f16c2bb320f4d5b33dfaf8df8865f547e6d66005 05-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't fetch pointers from a InMemoryStruct.

InMemoryStruct is extremely dangerous as it returns data from an internal
buffer when the endiannes doesn't match. This should fix the tests on big
endian hosts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178875 91177308-0d34-0410-b5e6-96231b3b80d8
achODumper.cpp
76e70f340c09ba759ad96d8dfe416b64f24bc287 03-Apr-2013 Eric Christopher <echristo@gmail.com> Implements low-level object file format specific output for COFF and
ELF with support for:

- File headers
- Section headers + data
- Relocations
- Symbols
- Unwind data (only COFF/Win64)

The output format follows a few rules:
- Values are almost always output one per line (as elf-dump/coff-dump already do). - Many values are translated to something readable (like enum names), with the raw value in parentheses.
- Hex numbers are output in uppercase, prefixed with "0x".
- Flags are sorted alphabetically.
- Lists and groups are always delimited.

Example output:
---------- snip ----------
Sections [
Section {
Index: 1
Name: .text (5)
Type: SHT_PROGBITS (0x1)
Flags [ (0x6)
SHF_ALLOC (0x2)
SHF_EXECINSTR (0x4)
]
Address: 0x0
Offset: 0x40
Size: 33
Link: 0
Info: 0
AddressAlignment: 16
EntrySize: 0
Relocations [
0x6 R_386_32 .rodata.str1.1 0x0
0xB R_386_PC32 puts 0x0
0x12 R_386_32 .rodata.str1.1 0x0
0x17 R_386_PC32 puts 0x0
]
SectionData (
0000: 83EC04C7 04240000 0000E8FC FFFFFFC7 |.....$..........|
0010: 04240600 0000E8FC FFFFFF31 C083C404 |.$.........1....|
0020: C3 |.|
)
}
]
---------- snip ----------

Relocations and symbols can be output standalone or together with the section header as displayed in the example.
This feature set supports all tests in test/MC/COFF and test/MC/ELF (and I suspect all additional tests using elf-dump), making elf-dump and coff-dump deprecated.

Patch by Nico Rieck!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178679 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
OFFDumper.cpp
LF.cpp
LFDumper.cpp
rror.cpp
rror.h
LVMBuild.txt
achODumper.cpp
akefile
bjDumper.cpp
bjDumper.h
treamWriter.cpp
treamWriter.h
lvm-readobj.cpp
lvm-readobj.h
bd1737c8460ee09d000492831788ecc17dbc368a 25-Mar-2013 Shankar Easwaran <shankare@codeaurora.org> [tools][llvm-readobj] print the name of the section when iterating the symbol table / dynamic symbol table

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177873 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
d326d05fb9c794e93fc7fc0601028f196600f7e2 20-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [llvm-readobj] Add ELF .dynamic table dumping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175592 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
LF.cpp
lvm-readobj.cpp
lvm-readobj.h
dc0f8a3fd993f5db67e121b0e2c132ac4d104a24 08-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [readobj] Fix memory leak.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174687 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
dd3aa9eab2b40ea1573a5482472bbb89e6f1038d 05-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com> [objdump,readobj] Document the purpose and goals of each tool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174439 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
87b47ccc5afcdffb1fa7f04b27fca926ec7fb344 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Use the generic dump template. Extracted from a patch by Sami Liedes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171305 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
fc73847d8fa79d310b26b7a80275dc48755ec2e3 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Dump sections. Extracted from a patch by Sami Liedes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171304 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
148ee4f224be6448834bf039807c70bb1a7c78f5 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Print a header above the symbols. Extracted from a patch by Sami Liedes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171302 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
ad784790ad28023ef5041beac6c23a8250778f3f 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Check for errors. Extracted from a patch by Sami Liedes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171301 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
1318e14f3e9d786ea108d99ecaee7b5baa9b8fd0 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Fix indentation. Extracted from a patch by Sami Liedes!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171300 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
663cebc4ad5ac5ad77ac051cbb925a126bba2c23 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com> Style fixes in llvm-readobj.cpp. Extracted from a patch by Sami Liedes!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171299 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
f010c464a11444733ec67e31aace8bcebeaf2588 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for tools/...

Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169252 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
51cf8661637c114e4b4f178bd2677a6bb246be0d 10-Mar-2012 Benjamin Kramer <benny.kra@googlemail.com> Fix uses of the C99 PRI format macros not to conflict with C++11 UDLs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152474 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
2d70e263c2b508bf4641273dd89a23149f6f6164 09-Mar-2012 David Meyer <pdox@google.com> Support reading GNU symbol versions in ELFObjectFile

* Add enums and structures for GNU version information.
* Implement extraction of that information on a per-symbol basis (ELFObjectFile::getSymbolVersion).
* Implement a generic interface, GetELFSymbolVersion(), for getting the symbol version from the ObjectFile (hides the templating).
* Have llvm-readobj print out the version, when available.
* Add a test for the new feature: readobj-elf-versioning.test



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152436 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
ee37b6e4cd53b8e2412c522eeab4e39b434f00c6 03-Mar-2012 David Meyer <pdox@google.com> Fix comments for llvm-readobj, remove extraneous headers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151957 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb 01-Mar-2012 David Meyer <pdox@google.com> [Object]
Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151845 91177308-0d34-0410-b5e6-96231b3b80d8
lvm-readobj.cpp
5c2b4ea73c8f48bb5f96c86fe437385b8fb3dcda 01-Mar-2012 David Meyer <pdox@google.com> [Object]
* Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile.
* Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable.
* Implement this new interface completely for ELF, leave stubs for COFF and MachO.
* Add 'llvm-readobj' tool for dumping ObjectFile information.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151785 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
LVMBuild.txt
akefile
lvm-readobj.cpp