#
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 |
|
#
7be76590 |
| 26-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Expand relocation type field to 64 bits. MachO scattered relocations require 33 bits of type info.
llvm-svn: 143032
|
#
1d19f97e |
| 17-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add some types to SymbolRef::Type.
Some of these can be true at the same time and there are a lot to add, so this should be turned into a bitfield. Some of the other accessors should probabl
Object: Add some types to SymbolRef::Type.
Some of these can be true at the same time and there are a lot to add, so this should be turned into a bitfield. Some of the other accessors should probably be folded into this.
llvm-svn: 142318
show more ...
|
#
32173153 |
| 17-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add isSymbolAbsolute and getSymbolSection.
llvm-svn: 142317
|
#
01759754 |
| 17-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add isSymbolWeak.
llvm-svn: 142316
|
#
4f91c2f2 |
| 17-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Implement casting for concrete classes.
llvm-svn: 142314
|
Revision tags: llvmorg-3.0.0-rc1 |
|
#
d3946676 |
| 17-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Fix redundant name.
llvm-svn: 142238
|
#
834bd602 |
| 13-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
ELF: Fix the section that relocations apply to. Add test to verify. Patch by Danil Malyshev!
llvm-svn: 141901
|
#
d3043965 |
| 13-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Elf_Word is not POD! Stop using it in a DenseMap.
llvm-svn: 141851
|
#
9bfcf776 |
| 12-Oct-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lib/Object/ELFObjectFile.cpp: Fix undefined behavior for MC/ELF/many-section.s not to fail (on msvc).
DenseMap::lookup(k) would return "default constructor value" when k was not met. It would be use
lib/Object/ELFObjectFile.cpp: Fix undefined behavior for MC/ELF/many-section.s not to fail (on msvc).
DenseMap::lookup(k) would return "default constructor value" when k was not met. It would be useless when value type were POD.
llvm-svn: 141774
show more ...
|
#
43f01cae |
| 11-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Reapply r141605 with fixes for appropriate handling of reserved section numbers in st_shndx fields.
llvm-svn: 141639
|
#
7adc4370 |
| 11-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Add support for .symtab_shnidx. Unfortunately, doing this required breaking a layer of abstraction around SymbolRef where you can read its private SymbolPimpl member.
llvm-svn: 141636
|
#
35a90c4b |
| 11-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Revert r141605 as it broke tests for llvm-nm.
llvm-svn: 141614
|
#
fdbb7c51 |
| 11-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Add support for reading many-section ELF files. If you want to tackle adding the testcase, let me know. It's a 4.2MB ELF file and I'll be happy to mail it to you.
llvm-svn: 141605
|
#
7989460a |
| 10-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: add getSectionAlignment.
llvm-svn: 141581
|
#
cfb6cc7b |
| 07-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix GCC again.
llvm-svn: 141389
|
#
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
|
#
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 ...
|
#
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 ...
|
#
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
|