llvm-project/llvm/test/tools/llvm-objdump/X86/Inputs
Kevin Enderby 844c4ac55a General clean up of Mach-O error handling in llvm-objdump.
To get a good error message for all files that could contain Mach-O
files the code in llvm-objdump needs to use the archive member name
and name of the architecture of a slice of a universal file in those cases
where the error come from a Mach-O file in an archive or a universal file.

Most of this is fixed by moving the call to checkSymbolTable() into
ProcessMachO() and calling it when the operation needs the symbol
table.  And then calling the form of report_error() that has the
ArchiveName and ArchitectureName arguments.  One other place
needed to call this form of report_error() also with these arguments.

Also changed the code in MachODump.cpp to not use report_fatal_error()
and use report_error() instead to make the code smaller and cleaner.  All
cases of this are for errors with the symbol table which should now never
be tripped since checkSymbolTable() should be called first to get a good
error message in these cases.

llvm-svn: 287050
2016-11-15 23:07:41 +00:00
..
malformed-machos
ObjC.exe.macho-x86_64
ObjC.obj.macho-x86_64
Objc1.32bit.exe.macho-i386
Objc1.32bit.obj.macho-i386
Objc2.32bit.exe.macho-i386
Objc2.32bit.obj.macho-i386
Objc2.64bit.exe.macho-x86_64
Objc2.64bit.obj.macho-x86_64
codesig.macho-x86_64 Fix a bug in llvm-objdump for -private-headers printing the LC_CODE_SIGNATURE Mach-O load command. 2016-04-28 21:07:20 +00:00
disassemble-data.obj
disassemble.dll.coff-i386
dylibLoadKinds.macho-x86_64
dylibModInit.macho-x86_64
dylibRoutines.macho-x86_64
dylibSubClient.macho-x86_64
dylibSubFramework.macho-x86_64
dylibSubLibrary.macho-x86_64
dylibSubUmbrella.macho-x86_64
exeThread.macho-x86_64
hello.exe.macho-i386
hello.exe.macho-x86_64
hello.exe.stripped.macho-x86_64 Fix llvm-objdump when disassembling a stripped Mach-O binary with the -macho option. 2016-06-15 21:14:01 +00:00
hello.obj.macho-i386
hello.obj.macho-x86_64
hello_cpp.exe.macho-x86_64
internal.exe.coff-x86_64
linkerOption.macho-x86_64
macho-invalid-symbol-indr Add a checkSymbolTable() method to the MachOObjectFile class. 2016-11-14 20:57:04 +00:00
macho-invalid-symbol-indr-archive-universal General clean up of Mach-O error handling in llvm-objdump. 2016-11-15 23:07:41 +00:00
macho-invalid-symbol-lib_ordinal Add a checkSymbolTable() method to the MachOObjectFile class. 2016-11-14 20:57:04 +00:00
macho-invalid-symbol-nsect Add a checkSymbolTable() method to the MachOObjectFile class. 2016-11-14 20:57:04 +00:00
macho-invalid-symbol-nsect-archive General clean up of Mach-O error handling in llvm-objdump. 2016-11-15 23:07:41 +00:00
macho-invalid-symbol-strx Add a checkSymbolTable() method to the MachOObjectFile class. 2016-11-14 20:57:04 +00:00
macho-invalid-symbol-strx-universal General clean up of Mach-O error handling in llvm-objdump. 2016-11-15 23:07:41 +00:00
macho-universal-archive.x86_64.i386
macho-universal.x86_64.i386
macho-universal64.x86_64.i386 Update llvm-obdump(1) to print FAT_MAGIC_64 for Darwin’s 64-bit universal files 2016-06-21 21:55:01 +00:00
out-of-section-sym.elf-i386
simple-executable-x86_64.yaml Fix test failure in r281232 2016-09-12 17:40:10 +00:00
source-interleave-x86_64.c llvm-objdump: Implement source[line numbers] interleaving 2016-08-15 19:49:24 +00:00
stubbed.dylib.macho-x86_64 llvm-objdump: handle stubbed and malformed dylibs better 2016-07-14 22:13:32 +00:00
trivial.obj.elf-i386
truncated-section.dylib.macho-x86_64 llvm-objdump: handle stubbed and malformed dylibs better 2016-07-14 22:13:32 +00:00