History log of /llvm-project/llvm/lib/Object/Object.cpp (Results 51 – 65 of 65)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1
# dec20e43 01-May-2013 Filip Pizlo <fpizlo@apple.com>

This patch breaks up Wrap.h so that it does not have to include all of
the things, and renames it to CBindingWrapping.h. I also moved
CBindingWrapping.h into Support/.

This new file just contains

This patch breaks up Wrap.h so that it does not have to include all of
the things, and renames it to CBindingWrapping.h. I also moved
CBindingWrapping.h into Support/.

This new file just contains the macros for defining different wrap/unwrap
methods.

The calls to those macros, as well as any custom wrap/unwrap definitions
(like for array of Values for example), are put into corresponding C++
headers.

Doing this required some #include surgery, since some .cpp files relied
on the fact that including Wrap.h implicitly caused the inclusion of a
bunch of other things.

This also now means that the C++ headers will include their corresponding
C API headers; for example Value.h must include llvm-c/Core.h. I think
this is harmless, since the C API headers contain just external function
declarations and some C types, so I don't believe there should be any
nasty dependency issues here.

llvm-svn: 180881

show more ...


# 04d4e931 22-Apr-2013 Eric Christopher <echristo@gmail.com>

Move C++ code out of the C headers and into either C++ headers
or the C++ files themselves. This enables people to use
just a C compiler to interoperate with LLVM.

llvm-svn: 180063


Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3, llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1, llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# cbe72fc9 29-Nov-2011 Danil Malyshev <dmalyshev@accesssoftek.com>

Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObject

Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

llvm-svn: 145408

show more ...


# 37ab257b 27-Nov-2011 Chandler Carruth <chandlerc@gmail.com>

Revert r145180 as it is causing test failures on all the bots.

Original commit message:
Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getS

Revert r145180 as it is causing test failures on all the bots.

Original commit message:
Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

llvm-svn: 145182

show more ...


# 2631f93f 27-Nov-2011 Danil Malyshev <dmalyshev@accesssoftek.com>

Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObject

Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

llvm-svn: 145180

show more ...


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2
# f7a89d06 27-Oct-2011 Owen Anderson <resistor@mac.com>

Expose relocation accessors through the libObject C API.

llvm-svn: 143109


# e245af65 27-Oct-2011 Owen Anderson <resistor@mac.com>

Add relocation iterators to the libObject C API.

llvm-svn: 143107


# 500ebeb8 21-Oct-2011 Owen Anderson <resistor@mac.com>

Use LLVMBool for a function that logically returns a boolean value.

llvm-svn: 142683


# 07bfdbb2 21-Oct-2011 Owen Anderson <resistor@mac.com>

Bind libObject API for obtaining the section containing a Symbol.

llvm-svn: 142667


# f239db40 21-Oct-2011 Owen Anderson <resistor@mac.com>

Expand the coverage of the libObject C bindings to include more SectionRef accessors as well as Symbol iterators.

llvm-svn: 142661


Revision tags: llvmorg-3.0.0-rc1
# e5fd0047 07-Oct-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Change relocation API to be per section. This time without breaking GCC.

llvm-svn: 141385


# 206d8a7f 07-Oct-2011 Bill Wendling <isanbard@gmail.com>

Revert 141376 and 141377 due to breaking the build.

--- Reverse-merging r141377 into '.':
U tools/llvm-objdump/MachODump.cpp
--- Reverse-merging r141376 into '.':
U include/llvm/Object/COFF.h

Revert 141376 and 141377 due to breaking the build.

--- Reverse-merging r141377 into '.':
U tools/llvm-objdump/MachODump.cpp
--- Reverse-merging r141376 into '.':
U include/llvm/Object/COFF.h
U include/llvm/Object/ObjectFile.h
U include/llvm-c/Object.h
U tools/llvm-objdump/llvm-objdump.cpp
U lib/Object/MachOObjectFile.cpp
U lib/Object/COFFObjectFile.cpp
U lib/Object/Object.cpp
U lib/Object/ELFObjectFile.cpp

llvm-svn: 141379

show more ...


# b0d61540 07-Oct-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Change relocation API to be per section.

llvm-svn: 141376


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

Object: Add proper error handling.

llvm-svn: 133872


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

Move Object.cpp out of VMCore and into Object.

llvm-svn: 128800


123