llvm-project/llvm/test/tools/llvm-objdump/X86
George Rimar f0f38d9b9d [llvm-objdump] - Cleanup the error reporting.
The error reporting function are not consistent.

Before this change:

* They had inconsistent naming (e.g. 'error' vs 'report_error').
* Some of them reported the object name, others - dont.
* Some of them accepted the case when there was no error. (i.e. error code or Error had a success value).

This patch tries to cleanup it a bit.

It also renames report_error -> reportError, report_warning -> reportWarning
and removes a full stop from messages.

Differential revision: https://reviews.llvm.org/D66418

llvm-svn: 369515
2019-08-21 11:07:31 +00:00
..
Inputs [test] - Remove precomiled openbsd-phdrs.elf-x86-64 objects. 2019-08-17 14:23:30 +00:00
adjust-vma.test [llvm-objdump] Prep for adding newlines before and after "Disassembly of section ...:" 2019-04-25 10:25:52 +00:00
coff-dis-internal.test
coff-disassemble-export.test
debug-info-fileinfo.test
demangle.s [llvm-objdump] Prep for adding newlines before and after "Disassembly of section ...:" 2019-04-25 10:25:52 +00:00
disassemble-align.s [llvm-objdump] Test tabs in disassemble-align.s with a more visible character 2019-04-16 15:58:42 +00:00
disassemble-archive-with-source.ll Teach the symbolizer lib symbolize objects directly. 2019-07-08 19:28:57 +00:00
disassemble-code-data-mix.s [llvm-objdump] Remove unnecessary indentation when dumping ELF data. 2019-06-19 18:44:29 +00:00
disassemble-data.test
disassemble-demangle.test [yaml2obj][obj2yaml] - Change how symbol's binding is descibed when parsing/dumping. 2019-04-03 14:53:42 +00:00
disassemble-functions-mangling.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
disassemble-functions.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
disassemble-implied-by-disassemble-functions.test [NFC] Test commit. 2019-06-07 01:55:59 +00:00
disassemble-invalid-byte-sequences.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
disassemble-long-instructions.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
disassemble-no-symbol-at-section-start.test [llvm-objdump] - Import the test/Object/X86/no-start-symbol.test test case and rewrite it to use YAML. 2019-07-24 12:24:43 +00:00
disassemble-section-name.s [llvm-objdump] Print newlines before and after "Disassembly of section ...:" 2019-05-01 10:40:48 +00:00
disassemble-show-raw.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
disassemble-text.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
disassemble-zeroes-relocations.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
elf-disassemble-dynamic-symbols.test [llvm-objdump] Match GNU objdump on symbol types shown in disassembly 2019-06-24 17:47:56 +00:00
elf-disassemble-no-symtab.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-disassemble-relocs.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-disassemble-symbol-labels-exec.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-disassemble-symbol-labels-rel.test fix accidental implicit matches in elf-disassemble-symbol-labels-rel.test 2019-05-23 22:28:18 +00:00
elf-disassemble-symbol-references.yaml [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-disassemble.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-dynamic-relocs.test [ELF][llvm-objdump] Treat dynamic tag values as virtual addresses instead of offsets 2019-06-10 17:50:24 +00:00
function-sections-line-numbers.s [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +00:00
hex-displacement.test
invalid-macho-build-version.yaml
lit.local.cfg
macho-archive-headers.test
macho-build-version.yaml Add lit.local.cfg to llvm-objdump tests 2019-07-09 17:47:14 +00:00
macho-cstring-dump.test
macho-data-in-code.ll Move macho-data-in-code.ll to X86/macho-data-in-code.ll (to only run when x86 is a valid target). 2019-08-01 16:52:45 +00:00
macho-dis-no-leading-addr.test
macho-dis-symname.test
macho-disassemble-all.test llvm-objdump -m -D should disassemble all text segments 2019-01-15 20:41:30 +00:00
macho-disassemble-g-dsym.test [llvm] [test] Remove non-portable EISDIR test from macho-disassemble-g-dsym.test 2019-06-03 14:50:03 +00:00
macho-disassemble-kextbundle.test [llvm-objdump][test] Make MachO test names consistent 2019-05-23 12:43:08 +00:00
macho-disassemble-stab.test objdump fails to parse Mach-O binaries with n_desc bearing stabs 2019-02-23 06:19:56 +00:00
macho-disassemble-stripped.test [llvm-objdump][test] Make MachO test names consistent 2019-05-23 12:43:08 +00:00
macho-dylib.test Print dylib load kind (weak, reexport, etc) in llvm-objdump -m -dylibs-used 2019-06-18 22:20:10 +00:00
macho-image-info.test
macho-indirect-symbols.test
macho-info-plist-nofollow.test
macho-info-plist.test
macho-literal-pointers-i386.test
macho-literal-pointers-x86_64.test
macho-literals.test
macho-maccatalyst-build-version.yaml [macCatalyst] Print out macCatalyst in llvm-objdump for the platform 2019-07-03 17:46:30 +00:00
macho-nofirst-symbol-disassembly.test
macho-nontext-disasm.test
macho-objc-meta-data.test
macho-preload-relocations.test
macho-print-thread.test
macho-private-header.test [llvm-objdump] Simplify PrintHelpMessage() logic 2019-04-16 02:37:29 +00:00
macho-private-headers.test
macho-relocations.test
macho-section-contents.test
macho-section-headers.test [llvm-objdump] - Print LMAs when dumping section headers. 2019-01-28 14:11:35 +00:00
macho-section.test
macho-stub-nosyms-disassembly.test
macho-symbol-table.test
macho-symbolized-disassembly.test
macho-symbolized-subtractor-i386.test
macho-symbolized-subtractor.test
macho-universal-x86_64.i386.test
macho-unwind-info.test
malformed-machos.test Detect malformed LC_LINKER_COMMANDs in Mach-O binaries 2019-03-11 18:29:25 +00:00
out-of-section-sym.test [llvm-objdump] Print newlines before and after "Disassembly of section ...:" 2019-05-01 10:40:48 +00:00
phdrs-lma.test [llvm-objdump] - Print LMAs when dumping section headers. 2019-01-28 14:11:35 +00:00
phdrs-lma2.test [llvm-objdump] - Print LMAs when dumping section headers. 2019-01-28 14:11:35 +00:00
phdrs.test
plt.test
print-symbol-addr.s [llvm-objdump] Use %08 instead of %016 to print leading addresses for 32-bit binaries 2019-06-17 09:59:55 +00:00
section-filter-disasm.test [llvm-objdump] - Disassemble non-executable sections if specifically requested. 2019-06-05 11:37:53 +00:00
section-filter-relocs.test [llvm-objdump] - Disassemble non-executable sections if specifically requested. 2019-06-05 11:37:53 +00:00
section-index.s
source-interleave-invalid-source.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
source-interleave-missing-source.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
source-interleave-no-debug-info.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
source-interleave-relative-paths.test [llvm-objdump][test] Fix for spurious matches against file paths 2019-05-24 10:07:24 +00:00
source-interleave-same-line-different-file.test [NFC] Delete trailing whitespace character. 2019-06-07 06:28:43 +00:00
source-interleave-x86_64.test [llvm-objdump][test] Improve testing of some switches #2 2019-05-23 10:17:10 +00:00
start-stop-address-relocatable-object.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
start-stop-address.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
stubbed-dylib.test
truncated-section.test
warn-missing-disasm-func.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00