llvm-project/llvm/test/tools/llvm-objdump/X86
Kevin Enderby 7fa40c9f2b General clean up of error handling in llvm-objdump to remove its use of report_fatal_error().
No real functional change with this commit.

The problem with report_fatal_error() is it does not include the tool name
and the file name the for which the error message was generated.

Uses of report_fatal_error() were change to report_error() or error()
to get a better error and to make the code smaller and cleaner.

Also changed things like error(errorToErrorCode(SOrErr.takeError())) to
use report_error() with a file name and the llvm::Error (as well as the
ArchitectureName if available) so the error message is printed.

llvm-svn: 287163
2016-11-16 22:17:38 +00:00
..
Inputs General clean up of Mach-O error handling in llvm-objdump. 2016-11-15 23:07:41 +00:00
coff-dis-internal.test
coff-disassemble-export.test Revert r265817 2016-04-08 18:15:37 +00:00
disassemble-code-data-mix.s llvm-objdump: ELF: Handle code and data mix in all scenarios 2016-08-25 19:41:08 +00:00
disassemble-data.test
disassembly-show-raw.test
hex-displacement.test Revert r265817 2016-04-08 18:15:37 +00:00
lit.local.cfg
macho-archive-headers.test
macho-cstring-dump.test
macho-dis-no-leading-addr.test Revert r265817 2016-04-08 18:15:37 +00:00
macho-dis-symname.test Fix llvm-objdump when disassembling a stripped Mach-O binary with the -macho option. 2016-06-15 21:14:01 +00:00
macho-disassembly-stripped.test Fix llvm-objdump when disassembling a stripped Mach-O binary with the -macho option. 2016-06-15 21:14:01 +00:00
macho-dylib.test
macho-indirect-symbols.test
macho-info-plist.test
macho-literal-pointers-i386.test
macho-literal-pointers-x86_64.test
macho-literals.test
macho-nontext-disasm.test Revert r265817 2016-04-08 18:15:37 +00:00
macho-objc-meta-data.test
macho-private-header.test
macho-private-headers.test 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
macho-relocations.test
macho-section-contents.test
macho-section-headers.test
macho-section.test
macho-symbol-table.test
macho-symbolized-disassembly.test Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
macho-symbolized-subtractor-i386.test
macho-symbolized-subtractor.test
macho-universal-x86_64.i386.test Update llvm-obdump(1) to print FAT_MAGIC_64 for Darwin’s 64-bit universal files 2016-06-21 21:55:01 +00:00
macho-unwind-info.test
malformed-machos.test General clean up of error handling in llvm-objdump to remove its use of report_fatal_error(). 2016-11-16 22:17:38 +00:00
out-of-section-sym.test
source-interleave-x86_64.ll DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
start-stop-address.test Fix test failure in r281232 2016-09-12 17:40:10 +00:00
stubbed-dylib.test llvm-objdump: handle stubbed and malformed dylibs better 2016-07-14 22:13:32 +00:00
truncated-section.test llvm-objdump: handle stubbed and malformed dylibs better 2016-07-14 22:13:32 +00:00