History log of /llvm-project/llvm/tools/llvm-readobj/llvm-readobj.cpp (Results 201 – 225 of 258)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 724d4b43 20-Jul-2015 Rafael Espindola <rafael.espindola@gmail.com>

Refactor duplicated code. NFC.

llvm-svn: 242655


Revision tags: llvmorg-3.7.0-rc1
# 20546ffd 09-Jul-2015 Michael J. Spencer <bigcheesegs@gmail.com>

[Object][ELF] Support dumping hash-tables from files with no section table.

This time without breaking the bots.

llvm-svn: 241869


# bfdf7dd1 09-Jul-2015 Adrian Prantl <aprantl@apple.com>

Temporarily reverting 241765, 241768, and 241772 to unbreak the build bots.

llvm-svn: 241781


# c4a25be5 09-Jul-2015 Michael J. Spencer <bigcheesegs@gmail.com>

[Object][ELF] Support dumping hash-tables from files with no section table.

llvm-svn: 241765


# c7689300 06-Jul-2015 Rafael Espindola <rafael.espindola@gmail.com>

Simplify. NFC.

llvm-svn: 241458


# 96d071cd 29-Jun-2015 Rafael Espindola <rafael.espindola@gmail.com>

Don't return error_code from function that never fails.

llvm-svn: 241021


# 0000afd8 26-Jun-2015 Lang Hames <lhames@gmail.com>

[StackMaps] Add a lightweight parser for stackmap version 1 sections.

The parser provides a convenient interface for reading llvm stackmap v1 sections
in object files.

This patch also includes a ne

[StackMaps] Add a lightweight parser for stackmap version 1 sections.

The parser provides a convenient interface for reading llvm stackmap v1 sections
in object files.

This patch also includes a new option for llvm-readobj, '-stackmap', which uses
the parser to pretty-print stackmap sections for debugging/testing purposes.

llvm-svn: 240860

show more ...


# 594c0281 25-Jun-2015 Michael J. Spencer <bigcheesegs@gmail.com>

[Object][ELF] Add support for dumping dynamic relocations when sections are stripped.

llvm-svn: 240703


# d8757a4b 25-Jun-2015 Rafael Espindola <rafael.espindola@gmail.com>

We don't need the targets to read objects.

llvm-svn: 240684


Revision tags: llvmorg-3.6.2, llvmorg-3.6.2-rc1
# 6e07e930 16-Jun-2015 Simon Atanasyan <simon@atanasyan.com>

[llvm-readobj] Print MIPS .reginfo section content

llvm-svn: 239856


Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1
# c914de27 07-May-2015 Simon Atanasyan <simon@atanasyan.com>

[llvm-readobj] Print .MIPS.abiflags section content

This change adds new flag -mips-abi-flags to the llvm-readobj. This flag
forces printing of .MIPS.abiflags section content.

https://dmz-portal.mi

[llvm-readobj] Print .MIPS.abiflags section content

This change adds new flag -mips-abi-flags to the llvm-readobj. This flag
forces printing of .MIPS.abiflags section content.

https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#10.2.1._.MIPS.abiflags

llvm-svn: 236737

show more ...


# 29ac43c3 13-Apr-2015 David Blaikie <dblaikie@gmail.com>

llvm-readobj: teach it to handle MachO Universal Archive correctly

Patch by Chilledheart (rwindz0@gmail.com).

Reviewed By: rafael

Differential Revision: http://reviews.llvm.org/D8773

llvm-svn: 23

llvm-readobj: teach it to handle MachO Universal Archive correctly

Patch by Chilledheart (rwindz0@gmail.com).

Reviewed By: rafael

Differential Revision: http://reviews.llvm.org/D8773

llvm-svn: 234758

show more ...


# 8448a243 24-Mar-2015 Rafael Espindola <rafael.espindola@gmail.com>

[llvm-readobj] add support for macho universal binary.

Patch by Keyue Hu (Chilledheart)!

llvm-svn: 233107


Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1, llvmorg-3.6.0, llvmorg-3.6.0-rc4
# 99f0215b 18-Feb-2015 Zachary Turner <zturner@google.com>

Modify llvm-readobj to dump symbol record bytes.

This will help us study the format of individual symbol
records more closely.

Differential Revision: http://reviews.llvm.org/D7664
Reviewed by: Timu

Modify llvm-readobj to dump symbol record bytes.

This will help us study the format of individual symbol
records more closely.

Differential Revision: http://reviews.llvm.org/D7664
Reviewed by: Timur Iskhodzhanov

llvm-svn: 229730

show more ...


Revision tags: llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1
# ddd92644 03-Jan-2015 Saleem Abdulrasool <compnerd@compnerd.org>

llvm-readobj: add support to dump COFF export tables

This enhances llvm-readobj to print out the COFF export table, similar to the
-coff-import option. This is useful for testing in lld.

llvm-svn:

llvm-readobj: add support to dump COFF export tables

This enhances llvm-readobj to print out the COFF export table, similar to the
-coff-import option. This is useful for testing in lld.

llvm-svn: 225120

show more ...


Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1
# 74e85130 19-Nov-2014 Rui Ueyama <ruiu@google.com>

llvm-readobj: teach it how to dump COFF base relocation table

llvm-svn: 222289


# e0eb086d 13-Nov-2014 David Majnemer <david.majnemer@gmail.com>

llvm-readobj: relocAddressLess could potentially lie

On error conditions, relocAddressLess might claim that a value is less
than itself. Instead, abort llvm-readobj. No functionality change
intend

llvm-readobj: relocAddressLess could potentially lie

On error conditions, relocAddressLess might claim that a value is less
than itself. Instead, abort llvm-readobj. No functionality change
intended.

llvm-svn: 221872

show more ...


# f9578632 07-Oct-2014 Saleem Abdulrasool <compnerd@compnerd.org>

llvm-readobj: add support to dump (COFF) directives

PE/COFF has a special section (.drectve) which can be used to pass options to
the linker (similar to LC_LINKER_OPTION). Add support to llvm-reado

llvm-readobj: add support to dump (COFF) directives

PE/COFF has a special section (.drectve) which can be used to pass options to
the linker (similar to LC_LINKER_OPTION). Add support to llvm-readobj to print
the contents of the section for tests.

llvm-svn: 219228

show more ...


# 1e152d5e 02-Oct-2014 Rui Ueyama <ruiu@google.com>

This patch adds a new flag "-coff-imports" to llvm-readobj.
When the flag is given, the command prints out the COFF import table.

Currently only the import table directory will be printed.
I'm going

This patch adds a new flag "-coff-imports" to llvm-readobj.
When the flag is given, the command prints out the COFF import table.

Currently only the import table directory will be printed.
I'm going to make another patch to print out the imported symbols.

The implementation of import directory entry iterator in
COFFObjectFile.cpp was buggy. This patch fixes that too.

http://reviews.llvm.org/D5569

llvm-svn: 218891

show more ...


Revision tags: llvmorg-3.5.0, llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3
# 48af1c2a 19-Aug-2014 Rafael Espindola <rafael.espindola@gmail.com>

Don't own the buffer in object::Binary.

Owning the buffer is somewhat inflexible. Some Binaries have sub Binaries
(like Archive) and we had to create dummy buffers just to handle that. It is
also a

Don't own the buffer in object::Binary.

Owning the buffer is somewhat inflexible. Some Binaries have sub Binaries
(like Archive) and we had to create dummy buffers just to handle that. It is
also a bad fit for IRObjectFile where the Module wants to own the buffer too.

Keeping this ownership would make supporting IR inside native objects
particularly painful.

This patch focuses in lib/Object. If something elsewhere used to own an Binary,
now it also owns a MemoryBuffer.

This patch introduces a few new types.

* MemoryBufferRef. This is just a pair of StringRefs for the data and name.
This is to MemoryBuffer as StringRef is to std::string.
* OwningBinary. A combination of Binary and a MemoryBuffer. This is needed
for convenience functions that take a filename and return both the
buffer and the Binary using that buffer.

The C api now uses OwningBinary to avoid any change in semantics. I will start
a new thread to see if we want to change it and how.

llvm-svn: 216002

show more ...


# 67622317 08-Aug-2014 Rafael Espindola <rafael.espindola@gmail.com>

getLoadName is only implemented for ELF, make it ELF only.

llvm-svn: 215219


Revision tags: llvmorg-3.5.0-rc2
# 3f6481d0 01-Aug-2014 Rafael Espindola <rafael.espindola@gmail.com>

Remove some calls to std::move.

Instead of moving out the data in a ErrorOr<std::unique_ptr<Foo>>, get
a reference to it.

Thanks to David Blaikie for the suggestion.

llvm-svn: 214516


# 437b0d58 31-Jul-2014 Rafael Espindola <rafael.espindola@gmail.com>

Use std::unique_ptr to make the ownership explicit.

llvm-svn: 214377


Revision tags: llvmorg-3.5.0-rc1
# 80433900 18-Jun-2014 Simon Atanasyan <simon@atanasyan.com>

[llvm-readobj][ELF] New `-mips-plt-got` command line option to output
MIPS GOT section.

Patch reviewed by Rafael Espindola.

llvm-svn: 211150


# ae460027 16-Jun-2014 Rafael Espindola <rafael.espindola@gmail.com>

Convert the Archive API to use ErrorOr.

Now that we have c++11, even things like ErrorOr<std::unique_ptr<...>> are
easy to use.

No intended functionality change.

llvm-svn: 211033


1234567891011