Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
cd2514dc |
| 30-Apr-2015 |
Davide Italiano <davide@freebsd.org> |
[Object] Teach Object and llvm-objdump about ".hidden"
Differential Revision: http://reviews.llvm.org/D9416 Reviewed by: rafael
llvm-svn: 236279
|
#
0fc1182e |
| 01-Apr-2015 |
Kevin Enderby <enderby@apple.com> |
Add the option -objc-meta-data to llvm-objdump used with -macho to print the Objective-C runtime meta data for Mach-O files.
There are three types of Objective-C runtime meta data, Objc2 64-bit, Obj
Add the option -objc-meta-data to llvm-objdump used with -macho to print the Objective-C runtime meta data for Mach-O files.
There are three types of Objective-C runtime meta data, Objc2 64-bit, Objc2 32-bit and Objc1 32-bit. This prints the first of these types. The changes to print the others will follow next.
llvm-svn: 233840
show more ...
|
#
f8019408 |
| 31-Mar-2015 |
Eric Christopher <echristo@gmail.com> |
Replace the MCSubtargetInfo parameter with a Triple when creating an MCInstPrinter. Update all callers and use where we wanted a Triple previously.
llvm-svn: 233648
|
#
b46d0234 |
| 27-Mar-2015 |
Akira Hatanaka <ahatanaka@apple.com> |
[MCInstPrinter] Enable MCInstPrinter to change its behavior based on the per-function subtarget.
Currently, code-gen passes the default or generic subtarget to the constructors of MCInstPrinter subc
[MCInstPrinter] Enable MCInstPrinter to change its behavior based on the per-function subtarget.
Currently, code-gen passes the default or generic subtarget to the constructors of MCInstPrinter subclasses (see LLVMTargetMachine::addPassesToEmitFile), which enables some targets (AArch64, ARM, and X86) to change their instprinter's behavior based on the subtarget feature bits. Since the backend can now use different subtargets for each function, instprinter has to be changed to use the per-function subtarget rather than the default subtarget.
This patch takes the first step towards enabling instprinter to change its behavior based on the per-function subtarget. It adds a bit "PassSubtarget" to AsmWriter which tells table-gen to pass a reference to MCSubtargetInfo to the various print methods table-gen auto-generates.
I will follow up with changes to instprinters of AArch64, ARM, and X86.
llvm-svn: 233411
show more ...
|
#
fc32b1b8 |
| 18-Mar-2015 |
Colin LeMahieu <colinl@codeaurora.org> |
[Objdump] DumpBytes of uint8_t from ArrayRef<uint8_t> instead of char from StringRef. Removing reinterpret_casts.
llvm-svn: 232659
|
#
916c3b42 |
| 18-Mar-2015 |
Colin LeMahieu <colinl@codeaurora.org> |
[Objdump] Removing size limit on DumpBytes and changing to range based for loop.
llvm-svn: 232654
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
bc847fa4 |
| 16-Mar-2015 |
Kevin Enderby <enderby@apple.com> |
Add the options, -dylibs-used and -dylib-id to llvm-objdump used with -macho to print the Mach-O dynamic shared libraries used by a linked image or the library id of a shared library.
llvm-svn: 2324
Add the options, -dylibs-used and -dylib-id to llvm-objdump used with -macho to print the Mach-O dynamic shared libraries used by a linked image or the library id of a shared library.
llvm-svn: 232406
show more ...
|
#
cd66be5d |
| 11-Mar-2015 |
Kevin Enderby <enderby@apple.com> |
Add the option, -info-plist to llvm-objdump used with -macho to print the Mach-O info plist section as strings.
llvm-svn: 231974
|
Revision tags: llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3 |
|
#
f6d25853 |
| 31-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
Add the -section option to llvm-objdump used with -macho that takes the argument segname,sectname to specify a Mach-O section to print. The printing is based on the section type or section attribute
Add the -section option to llvm-objdump used with -macho that takes the argument segname,sectname to specify a Mach-O section to print. The printing is based on the section type or section attributes.
The printing of the module initialization and termination section types is printed with this change. Printing of other section types will be added next.
llvm-svn: 227649
show more ...
|
Revision tags: llvmorg-3.6.0-rc2 |
|
#
9a50944c |
| 27-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
dd the option, -link-opt-hints to llvm-objdump used with -macho to print the Mach-O AArch64 linker optimization hints for ADRP code optimization.
llvm-svn: 227246
|
#
bc2f47a7 |
| 23-Jan-2015 |
Colin LeMahieu <colinl@codeaurora.org> |
[Objdump] Output information about common symbols in a way closer to GNU objdump.
llvm-svn: 226932
|
#
69fe98da |
| 23-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
Add the option, -data-in-code, to llvm-objdump used with -macho to print the Mach-O data in code table.
llvm-svn: 226921
|
#
a7bdc7e6 |
| 22-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
Add the option, -indirect-symbols, used with -macho to print the Mach-O indirect symbol table to llvm-objdump.
llvm-svn: 226848
|
#
98da6136 |
| 20-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
For llvm-objdump, hook up existing options to work when using -macho (the Mach-O parser).
llvm-svn: 226612
|
#
13023a1a |
| 15-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
Add the option, -archive-headers, used with -macho to print the Mach-O archive headers to llvm-objdump.
llvm-svn: 226228
|
Revision tags: llvmorg-3.6.0-rc1 |
|
#
131d1770 |
| 09-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
Add the option, -universal-headers, used with -macho to print the Mach-O universal headers to llvm-objdump.
llvm-svn: 225537
|
#
e2297ddd |
| 07-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
Slightly refactor things for llvm-objdump and the -macho option so it can be used with options other than just -disassemble so that universal files can be used with other options combined with -arch
Slightly refactor things for llvm-objdump and the -macho option so it can be used with options other than just -disassemble so that universal files can be used with other options combined with -arch options.
No functional change to existing options and use. One test case added for the additional functionality with a universal file an a -arch option.
llvm-svn: 225383
show more ...
|
Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2 |
|
#
839353bc |
| 17-Dec-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unused includes and out of date comment. NFC.
llvm-svn: 224413
|
Revision tags: llvmorg-3.5.1-rc1 |
|
#
ef3ad2ff |
| 04-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Re-add support to llvm-objdump for Mach-O universal files and archives with -macho with fixes. Includes the move of tests for llvm-objdump for universal files to an X86 directory. And the fix where
Re-add support to llvm-objdump for Mach-O universal files and archives with -macho with fixes. Includes the move of tests for llvm-objdump for universal files to an X86 directory. And the fix where it was failing on linux Rafael tracked down with asan. I had both Jim Grosbach and Adam Hemet look over the second fix since I could not set up asan to reproduce with the old version but not with the fix.
llvm-svn: 223416
show more ...
|
#
de882cd1 |
| 03-Dec-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
This reverts commit r223306 and r223277.
The code is using uninitialized memory and failing on linux.
llvm-svn: 223315
|
#
3f0ffab2 |
| 03-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add support to llvm-objdump for Mach-O universal files and archives with -macho.
llvm-svn: 223277
|
#
98fe58a3 |
| 26-Nov-2014 |
Rui Ueyama <ruiu@google.com> |
Object/COFF: Fix off-by-one error for object having lots of relocations
llvm-objdump printed out an error message for this off-by-one error, but because it always exits with 0 whether or not it foun
Object/COFF: Fix off-by-one error for object having lots of relocations
llvm-objdump printed out an error message for this off-by-one error, but because it always exits with 0 whether or not it found an error, the test (llvm-objdump/coff-many-relocs.test) succeeded. I made llvm-objdump exit with EXIT_FAILURE when an error is found.
llvm-svn: 222852
show more ...
|
#
236b0ca7 |
| 17-Nov-2014 |
David Majnemer <david.majnemer@gmail.com> |
Object, COFF: Tighten the object file parser
We were a little lax in a few areas: - We pretended that import libraries were like any old COFF file, they are not. In fact, they aren't really COFF
Object, COFF: Tighten the object file parser
We were a little lax in a few areas: - We pretended that import libraries were like any old COFF file, they are not. In fact, they aren't really COFF files at all, we should probably grow some specialized functionality to handle them smarter. - Our symbol iterators were more than happy to attempt to go past the end of the symbol table if you had a symbol with a bad list of auxiliary symbols.
llvm-svn: 222124
show more ...
|
#
106fd7be |
| 12-Nov-2014 |
Aaron Ballman <aaron@aaronballman.com> |
Fixing more -Wcast-qual warnings; NFC.
llvm-svn: 221782
|
#
7fc5b874 |
| 12-Nov-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Pass an ArrayRef to MCDisassembler::getInstruction.
With this patch MCDisassembler::getInstruction takes an ArrayRef<uint8_t> instead of a MemoryObject.
Even on X86 there is a maximum size an instr
Pass an ArrayRef to MCDisassembler::getInstruction.
With this patch MCDisassembler::getInstruction takes an ArrayRef<uint8_t> instead of a MemoryObject.
Even on X86 there is a maximum size an instruction can have. Given that, it seems way simpler and more efficient to just pass an ArrayRef to the disassembler instead of a MemoryObject and have it do a virtual call every time it wants some extra bytes.
llvm-svn: 221751
show more ...
|