summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/X86
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-add support to llvm-objdump for Mach-O universal files and archives with ↵Kevin Enderby2014-12-043-0/+25
| | | | | | | | | | | -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
* This reverts commit r223306 and r223277.Rafael Espindola2014-12-033-25/+0
| | | | | | The code is using uninitialized memory and failing on linux. llvm-svn: 223315
* Move tests for llvm-objdump for universal files to X86 directory to fix ↵Kevin Enderby2014-12-033-0/+25
| | | | | | build bots. llvm-svn: 223306
* Add the code and test cases for 32-bit Intel to llvm-objdump’s Mach-O ↵Kevin Enderby2014-11-044-0/+17
| | | | | | symbolizer. llvm-svn: 221211
* macho-symbolized-disassembly.test: Don't check C++ demangler unconditionally.NAKAMURA Takumi2014-10-291-1/+4
| | | | | | | For example, MS PSDK is not expected to have <cxxabi.h>. You should introduce the new feature in lit.cfg corresponding to HAVE_CXXABI_H if you would like to test demangler. llvm-svn: 220840
* Update llvm-objdump’s Mach-O symbolizer code to demangle C++ names.Kevin Enderby2014-10-282-0/+3
| | | | llvm-svn: 220833
* Update llvm-objdump’s Mach-O symbolizer code for Objective-C references.Kevin Enderby2014-10-233-0/+17
| | | | | | | This prints disassembly comments for Objective-C references to CFStrings, Selectors, Classes and method calls. llvm-svn: 220500
* [llvm-objdump] don't test timestamp dump as that is time zone dependentNick Kledzik2014-10-181-4/+0
| | | | llvm-svn: 220123
* [llvm-objdump] enhance test case for mach-o -private-headersNick Kledzik2014-10-182-0/+33
| | | | llvm-svn: 220120
* Update llvm-objdump’s Mach-O symbolizer code to print the name of symbol ↵Kevin Enderby2014-09-261-0/+1
| | | | | | | | | | | | | | | | stubs. So in fully linked images when a call is made through a stub it now gets a comment like the following in the disassembly: callq 0x100000f6c ## symbol stub for: _printf indicating the call is to a symbol stub and which symbol it is for. This is done for branch reference types and seeing if the branch target is in a stub section and if so using the indirect symbol table entry for that stub and using that symbol table entries symbol name. llvm-svn: 218546
* Flush out enough of llvm-objdump’s SymbolizerSymbolLookUp() for Mach-O ↵Kevin Enderby2014-09-241-3/+6
| | | | | | | | | | | | | | | | | | | | | files to get the literal string “Hello world” printed as a comment on the instruction that loads the pointer to it. For now this is just for x86_64. So for object files with relocation entries it produces things like: leaq L_.str(%rip), %rax ## literal pool for: "Hello world\n" and similar for fully linked images like executables: leaq 0x4f(%rip), %rax ## literal pool for: "Hello world\n" Also to allow testing against darwin’s otool(1), I hooked up the existing -no-show-raw-insn option to the Mach-O parser code, added the new Mach-O only -full-leading-addr option to match otool(1)'s printing of addresses and also added the new -print-imm-hex option. llvm-svn: 218423
* Hookup the MCSymbolizer to llvm-objdump’s disassembly for Mach-O files.Kevin Enderby2014-09-162-0/+14
| | | | | | | | | | | | | | First step done in this commit is to get flush out enough of the SymbolizerGetOpInfo() routine to symbolic an X86_64 hello world .o and its loading of the literal string and call to printf. Also the code to symbolicate the X86_64_RELOC_SUBTRACTOR relocation and a test is also added to show a slightly more complicated case. Next will be to flush out enough of SymbolizerSymbolLookUp() to get the literal string “Hello world” printed as a comment on the instruction that load the pointer to it. llvm-svn: 217893
* Removed the ctime printed “time stamp” from macho-private-headers.test ↵Kevin Enderby2014-09-041-1/+0
| | | | | | to fix the builds. llvm-svn: 217175
* Adds the next bit of support for llvm-objdump’s -private-headers for ↵Kevin Enderby2014-09-042-0/+243
| | | | | | | | | executable Mach-O files. This adds the printing of more load commands, so that the normal load commands in a typical X86 Mach-O executable can all be printed. llvm-svn: 217172
* Next bit of support for llvm-objdump’s -private-headers for Mach-O files.Kevin Enderby2014-08-291-0/+92
| | | | | | | This adds the printing of the LC_SEGMENT load command and sections, LC_SYMTAB and LC_DYSYMTAB load commands. llvm-svn: 216795
* Add the start of the support for llvm-objdump’s -private-headers for ↵Kevin Enderby2014-08-222-0/+5
| | | | | | | | Mach-O files. This adds the printing of the mach header. Load command printing will be next. llvm-svn: 216285
* llvm/test/tools/llvm-objdump: Reorganize target-dependent some tests.NAKAMURA Takumi2014-08-075-0/+29
llvm-svn: 215122
OpenPOWER on IntegriCloud