History log of /llvm-project/llvm/tools/llvm-readobj/llvm-readobj.cpp (Results 226 – 250 of 258)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4453e429 13-Jun-2014 Rafael Espindola <rafael.espindola@gmail.com>

Remove 'using std::error_code' from tools.

llvm-svn: 210876


# bff5d0d1 13-Jun-2014 Rafael Espindola <rafael.espindola@gmail.com>

Remove all uses of 'using std::error_code' from headers.

llvm-svn: 210866


# a6e9c3e4 12-Jun-2014 Rafael Espindola <rafael.espindola@gmail.com>

Remove system_error.h.

This is a minimal change to remove the header. I will remove the occurrences
of "using std::error_code" in a followup patch.

llvm-svn: 210803


Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2, llvmorg-3.4.1-rc1
# 56440fd8 06-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

Replace OwningPtr<T> with std::unique_ptr<T>.

This compiles with no changes to clang/lld/lldb with MSVC and includes
overloads to various functions which are used by those projects and llvm
which ha

Replace OwningPtr<T> with std::unique_ptr<T>.

This compiles with no changes to clang/lld/lldb with MSVC and includes
overloads to various functions which are used by those projects and llvm
which have OwningPtr's as parameters. This should allow out of tree
projects some time to move. There are also no changes to libs/Target,
which should help out of tree targets have time to move, if necessary.

llvm-svn: 203083

show more ...


# 15d16d80 30-Jan-2014 Saleem Abdulrasool <compnerd@compnerd.org>

tools: add support for decoding ARM attributes

Enhance the ARM specific parsing support in llvm-readobj to support attributes.
This allows for simpler tests to validate encoding of the build attribu

tools: add support for decoding ARM attributes

Enhance the ARM specific parsing support in llvm-readobj to support attributes.
This allows for simpler tests to validate encoding of the build attributes as
specified in the ARM ELF specification.

llvm-svn: 200450

show more ...


# 23a9750c 21-Jan-2014 Rafael Espindola <rafael.espindola@gmail.com>

Rename these methods to match the style guide.

llvm-svn: 199751


# 63da2950 15-Jan-2014 Rafael Espindola <rafael.espindola@gmail.com>

Return an ErrorOr<Binary *> from createBinary.

I did write a version returning ErrorOr<OwningPtr<Binary> >, but it is too
cumbersome to use without std::move. I will keep the patch locally and submi

Return an ErrorOr<Binary *> from createBinary.

I did write a version returning ErrorOr<OwningPtr<Binary> >, but it is too
cumbersome to use without std::move. I will keep the patch locally and submit
when we switch to c++11.

llvm-svn: 199326

show more ...


# 07baed53 13-Jan-2014 Chandler Carruth <chandlerc@gmail.com>

Re-sort #include lines again, prior to moving headers around.

llvm-svn: 199080


Revision tags: llvmorg-3.4.0
# 48703be5 19-Dec-2013 Timur Iskhodzhanov <timurrrr@google.com>

Teach the llvm-readobj COFF dumper to dump debug line tables from object files

Reviewed at http://llvm-reviews.chandlerc.com/D2425

llvm-svn: 197674


Revision tags: llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# 054f422d 09-Aug-2013 Benjamin Kramer <benny.kra@googlemail.com>

Remove byte order mark from source file.

llvm-svn: 188066


# 126973ba 08-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 l

[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.

llvm-svn: 188022

show more ...


Revision tags: llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1
# d9104c03 03-May-2013 Amara Emerson <amara.emerson@arm.com>

Revert r181009.

llvm-svn: 181079


# 2f54d9fe 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 in

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.

llvm-svn: 181009

show more ...


# 1e483879 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 o

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.

llvm-svn: 180259

show more ...


# d6df0547 12-Apr-2013 Nico Rieck <nico.rieck@gmail.com>

Teach llvm-readobj to print ELF program headers

llvm-svn: 179363


# f3f0b797 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

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
}

llvm-svn: 179359

show more ...


# 9cad53cf 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

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!

llvm-svn: 178679

show more ...


# 82050340 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

llvm-svn: 177873


# 6a8746b7 20-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com>

[llvm-readobj] Add ELF .dynamic table dumping.

llvm-svn: 175592


# 91814e34 08-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com>

[readobj] Fix memory leak.

llvm-svn: 174687


# d7e7003e 05-Feb-2013 Michael J. Spencer <bigcheesegs@gmail.com>

[objdump,readobj] Document the purpose and goals of each tool.

llvm-svn: 174439


# 278e891c 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Use the generic dump template. Extracted from a patch by Sami Liedes.

llvm-svn: 171305


# 21bd841d 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Dump sections. Extracted from a patch by Sami Liedes.

llvm-svn: 171304


# 144af2cb 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Print a header above the symbols. Extracted from a patch by Sami Liedes.

llvm-svn: 171302


# 63d52b1e 31-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Check for errors. Extracted from a patch by Sami Liedes.

llvm-svn: 171301


1234567891011