- Nov 20, 2012
-
-
Eli Bendersky authored
conformant to binutils objdump. llvm-svn: 168393
-
- Aug 28, 2012
-
-
Jack Carter authored
delimited. llvm-mc -disassemble access these through the -mattr option. llvm-objdump -disassemble had no such way to set the attribute so some instructions were just not recognized for disassembly. This patch accepts llvm-mc mechanism for specifying the attributes. llvm-svn: 162781
-
- Aug 07, 2012
-
-
Jim Grosbach authored
llvm-svn: 161430
-
- May 09, 2012
-
-
Kevin Enderby authored
PR12731. Patch by Meador Inge! llvm-svn: 156444
-
- May 04, 2012
-
-
Pete Cooper authored
Patch by Meador Inge. llvm-svn: 156128
-
- Apr 02, 2012
-
-
Craig Topper authored
Make MCInstrInfo available to the MCInstPrinter. This will be used to remove getInstructionName and the static data it contains since the same tables are already in MCInstrInfo. llvm-svn: 153860
-
- Mar 23, 2012
-
-
Benjamin Kramer authored
This should unbreak the msvc build. llvm-svn: 153329
-
- Mar 10, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152474
-
- Mar 05, 2012
-
-
Jim Grosbach authored
Used to allow context sensitive printing of super-register or sub-register references. llvm-svn: 152043
-
- Feb 29, 2012
-
-
David Meyer authored
[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF. Rename ST_External to ST_Unknown, and slightly change its semantics. It now only indicates that the symbol's type is unknown, not that the symbol is undefined. (For that, use ST_Undefined). llvm-svn: 151696
-
David Meyer authored
In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags. llvm-svn: 151670
-
- Feb 03, 2012
-
-
Cameron Zwarich authored
dylib. This regressed with r145408. I will try to make a test case and add it so that this doesn't happen again. llvm-svn: 149667
-
- Dec 20, 2011
-
-
- Nov 29, 2011
-
-
Danil Malyshev authored
- 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
-
- Nov 27, 2011
-
-
Chandler Carruth authored
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
-
Danil Malyshev authored
- 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
-
- Nov 16, 2011
-
-
Michael J. Spencer authored
llvm-svn: 144755
-
- Oct 28, 2011
-
-
Stepan Dyatkovskiy authored
llvm-svn: 143191
-
- Oct 27, 2011
-
-
Owen Anderson authored
Revert r143149, stubbing out symbolic disassembly support. The symbolic disassembly support is too MC-engrained to be useful in llvm-objdump. llvm-svn: 143152
-
Owen Anderson authored
llvm-svn: 143149
-
Stepan Dyatkovskiy authored
llvm-svn: 143120
-
- Oct 25, 2011
-
-
Owen Anderson authored
Add support for the notion of "hidden" relocations. On MachO, these are relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves. I'm not familiar enough with ELF or COFF to know if they should have any relocations marked hidden. llvm-svn: 142961
-
Owen Anderson authored
llvm-svn: 142952
-
- Oct 18, 2011
-
-
Michael J. Spencer authored
llvm-svn: 142404
-
Michael J. Spencer authored
This reverts commit 0c30d4e4f5f9110c5a67bd0ca84444dc58697596. llvm-svn: 142320
-
Michael J. Spencer authored
llvm-svn: 142319
-
- Oct 17, 2011
-
-
Michael J. Spencer authored
llvm-svn: 142199
-
- Oct 14, 2011
-
-
Michael J. Spencer authored
llvm-svn: 141897
-
- Oct 13, 2011
-
-
Michael J. Spencer authored
llvm-svn: 141886
-
Michael J. Spencer authored
This happens in COFF because there is a symbol for the beginning of each section. llvm-svn: 141885
-
- Oct 11, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 141664
-
- Oct 10, 2011
-
-
Nick Lewycky authored
flags as binutils objdump but the output is different, not just in format but also showing different sections. Compare its results against readelf, not objdump. llvm-svn: 141579
-
Benjamin Kramer authored
llvm-svn: 141535
-
- Oct 08, 2011
-
-
Michael J. Spencer authored
llvm-svn: 141451
-
- Oct 07, 2011
-
-
Michael J. Spencer authored
llvm-svn: 141385
-
Bill Wendling authored
--- 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
-
Michael J. Spencer authored
llvm-svn: 141376
-
- Sep 19, 2011
-
-
Benjamin Kramer authored
Add a MachO-specific "mode" to llvm-objdump, that, if enabled, gathers additional information that are only available on MachO. - It can take FunctionStarts from a binary to find entry points more accurately. - Symbol offsets in executables are correct now. llvm-svn: 140028
-
- Sep 16, 2011
-
-
Owen Anderson authored
Don't attach annotations to MCInst's. Instead, have the disassembler return, and the printer accept, an annotation string which can be passed through if the client cares about annotations. llvm-svn: 139876
-
- Sep 14, 2011
-
-
Benjamin Kramer authored
- 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
-