History log of /llvm-project/llvm/lib/Object/COFFObjectFile.cpp (Results 251 – 275 of 319)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 981af002 12-Oct-2013 Will Dietz <wdietz2@illinois.edu>

Add missing #include's to cctype when using isdigit/alpha/etc.

llvm-svn: 192519


# bc654b18 27-Sep-2013 Rui Ueyama <ruiu@google.com>

Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}.

It is mentioned in the LLVM coding standard that _begin() and _end() suffixes
should be used.

llvm-svn: 191569


# c2bed429 27-Sep-2013 Rui Ueyama <ruiu@google.com>

Re-submit r191472 with a fix for big endian.

llvm-objdump: Dump COFF import table if -private-headers option is given.
llvm-svn: 191557


# 333d28a0 27-Sep-2013 Rui Ueyama <ruiu@google.com>

Revert "llvm-objdump: Dump COFF import table if -private-headers option is given."

This reverts commit r191472 because it's failing on BE machine.

llvm-svn: 191480


# 5b1adbaa 27-Sep-2013 Rui Ueyama <ruiu@google.com>

llvm-objdump: Dump COFF import table if -private-headers option is given.

This is a patch to add capability to llvm-objdump to dump COFF Import Table
entries, so that we can write tests for LLD chec

llvm-objdump: Dump COFF import table if -private-headers option is given.

This is a patch to add capability to llvm-objdump to dump COFF Import Table
entries, so that we can write tests for LLD checking Import Table contents.

llvm-objdump did not print anything but just file name if the format is COFF
and -private-headers option is given. This is a patch adds capability for
dumping DLL Import Table, which is specific to the COFF format.

In this patch I defined a new iterator to iterate over import table entries.
Also added a few functions to COFFObjectFile.cpp to access fields of the entry.

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

llvm-svn: 191472

show more ...


# ed64342b 19-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 r

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.

llvm-svn: 186734

show more ...


# f3882430 18-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.

llvm-svn: 186627


# a20b9f52 18-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, b

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

llvm-svn: 186623

show more ...


Revision tags: llvmorg-3.3.1-rc1
# 82ebd8e3 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.chand

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

llvm-svn: 183852

show more ...


Revision tags: llvmorg-3.3.0
# 806f0064 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-rea

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.

llvm-svn: 183284

show more ...


Revision tags: llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2
# 0d15f731 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.

llvm-svn: 181502


Revision tags: llvmorg-3.3.0-rc1
# 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 ...


# 717c4d44 07-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com>

Remove unused argument.

llvm-svn: 178987


# 83c74e9f 12-Feb-2013 Guy Benyei <guy.benyei@intel.com>

Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.

llvm-svn: 175006


Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3, llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1
# 4f223bf7 29-Oct-2012 Tim Northover <Tim.Northover@arm.com>

Add interface for querying object files for symbol values.

Currently only implemented for ELF.

Patch by Amara Emerson.

llvm-svn: 166918


# b96a320a 10-Oct-2012 Andrew Kaylor <andrew.kaylor@intel.com>

Cosmetic changes

llvm-svn: 165588


# 3f31fa05 10-Oct-2012 Andrew Kaylor <andrew.kaylor@intel.com>

This patch adds new functions to the SectionRef and ObjectFile interfaces to determine whether or not a section is meant to be read-only. These functions will be used by the MCJIT RuntimeDyld to giv

This patch adds new functions to the SectionRef and ObjectFile interfaces to determine whether or not a section is meant to be read-only. These functions will be used by the MCJIT RuntimeDyld to give hints to the memory manager during the object loading process in a future patch.

Patch by Ashok Thirumurthi.

llvm-svn: 165586

show more ...


# d3e2a76c 18-Jun-2012 Marshall Clow <mclow@qualcomm.com>

Added accessors for getting coff_relocation info

llvm-svn: 158675


# bfb85e67 15-Jun-2012 Marshall Clow <mclow@qualcomm.com>

Had a closing brace inside an #ifdef -- oops!

llvm-svn: 158485


# 71757ef3 15-Jun-2012 Marshall Clow <mclow@qualcomm.com>

Adding acessors to COFFObjectFile so that clients can get at the (non-generic) bits

llvm-svn: 158484


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# 2138ef6d 12-Apr-2012 Preston Gurd <preston.gurd@intel.com>

This patch improves the MCJIT runtime dynamic loader by adding new handling
of zero-initialized sections, virtual sections and common symbols
and preventing the loading of sections which are not requ

This patch improves the MCJIT runtime dynamic loader by adding new handling
of zero-initialized sections, virtual sections and common symbols
and preventing the loading of sections which are not required for
execution such as debug information.

Patch by Andy Kaylor!

llvm-svn: 154610

show more ...


# 549515e1 10-Apr-2012 Danil Malyshev <dmalyshev@accesssoftek.com>

Add a constructor for DataRefImpl and remove excess initialization.

llvm-svn: 154371


# 9da9e693 19-Mar-2012 Michael J. Spencer <bigcheesegs@gmail.com>

[Object/COFF]: Expose getSectionContents.

llvm-svn: 153051


# 53c2d547 19-Mar-2012 Michael J. Spencer <bigcheesegs@gmail.com>

[Object/COFF]: Expose getSectionName.
Also add some documentation.

llvm-svn: 153050


# 7a89e0cc 15-Mar-2012 Michael J. Spencer <bigcheesegs@gmail.com>

Fix bug found by warning.

llvm-svn: 152812


1...<<111213