History log of /llvm-project/llvm/lib/Object/COFFObjectFile.cpp (Results 301 – 319 of 319)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b0d61540 07-Oct-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Change relocation API to be per section.

llvm-svn: 141376


# 800619f2 28-Sep-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Object: Add isSection{Data,BSS}.

llvm-svn: 140721


# 75d1cf33 14-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com>

Object: make the following changes into SymbolRef

- Add enum SymbolType and function getSymbolType()
- Add function isGlobal() - it's returns true for symbols that can be used in another objects, su

Object: make the following changes into SymbolRef

- Add enum SymbolType and function getSymbolType()
- Add function isGlobal() - it's returns true for symbols that can be used in another objects, such as library functions.
- Rename function getAddress() to getOffset() and add new function getAddress(), because currently getAddress() returns section offset of symbol first byte. new getAddress() return symbol address.
- Change usage SymbolRef::getAddress() to getOffset() in tools/llvm-nm and tools/llvm-objdump.

Patch by Danil Malyshev!

llvm-svn: 139683

show more ...


# 40ddfedd 13-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com>

Silence false positive uninitialized variable warnings from GCC.

llvm-svn: 139573


# 022ecdf2 08-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com>

Add support for relocations to ObjectFile.

Patch by Danil Malyshev!

llvm-svn: 139314


# f6f3e81c 15-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

ObjectFile: Add a method to check whether a section contains a symbol.

- No ELF or COFF implementation yet, I don't have a way to test that.
Should be straightforward to add though.

llvm-svn: 135

ObjectFile: Add a method to check whether a section contains a symbol.

- No ELF or COFF implementation yet, I don't have a way to test that.
Should be straightforward to add though.

llvm-svn: 135288

show more ...


# e6490e03 05-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

Use memcmp.

llvm-svn: 134439


# bac192d6 05-Jul-2011 Rafael Espindola <rafael.espindola@gmail.com>

Really fix typo :-(

llvm-svn: 134436


# 5a0f0fba 05-Jul-2011 Rafael Espindola <rafael.espindola@gmail.com>

Fix typo.

llvm-svn: 134433


# 00aae24a 05-Jul-2011 Rafael Espindola <rafael.espindola@gmail.com>

Compare all 4 bytes of the header.

llvm-svn: 134427


# 5ebaed24 05-Jul-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Fix warnings.

llvm-svn: 134408


# 1d6167fd 25-Jun-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Object: Add proper error handling.

llvm-svn: 133872


# ec29b121 25-Jun-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Make Binary the parent of ObjectFile and update children to new interface.

llvm-svn: 133870


# aa41981d 13-Jun-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Revert the last two commits in the series. r132911, r132912.

llvm-svn: 132913


# a7f9c49a 13-Jun-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Make Binary the parent of ObjectFile and update children to new interface.

llvm-svn: 132911


# 5f1eb968 02-May-2011 Nick Lewycky <nicholas@mxc.ca>

Remove dead variable pointed out by GCC 4.6 warnings, and reflow this a little
to scope a variable more tightly per llvm coding style. No functional change.

llvm-svn: 130684


Revision tags: llvmorg-2.9.0
# ee066fc4 03-Apr-2011 Eric Christopher <echristo@apple.com>

Assorted bugfixes in object file handling:

- Adds support for sniffing PE/COFF files on win32 (.exe and .dll)
which are COFF files that have an MS-DOS compatibility stub on
the front of them.

Assorted bugfixes in object file handling:

- Adds support for sniffing PE/COFF files on win32 (.exe and .dll)
which are COFF files that have an MS-DOS compatibility stub on
the front of them.

- Fixes a bug in the COFFObjectFile's support for the Microsoft COFF
extension for long symbol names, wherein it was attempting to parse
the leading '/' in an extended symbol name reference as part of the
integer offset.

- Fixes bugs in COFFObjectFile and ELFObjectFile wherein section
and symbol iterators were being returned with uninitialized bytes;
the type DataRefImpl is a union between 2 32-bit words (d.a and d.b)
and a single intptr_t word (p). Only p was being initialized, so in
32-bit builds the result would be iterators with random upper 32-bit
words in their DataRefImpls. This caused random failures when
seeking around in object files.

Patch by Graydon Hoare!

llvm-svn: 128799

show more ...


Revision tags: llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# 0324b672 21-Jan-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Object: Fix type punned pointer issues by making DataRefImpl a union and using intptr_t.

llvm-svn: 123962


# 8e90adaf 20-Jan-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Object: Add COFF Support.

llvm-svn: 123895


1...<<111213