llvm-project/llvm/test/tools/llvm-objdump
Serge Bazanski 231bfaab31 [Lanai] fix MC / objdump
D78776 removed is{Call,Branch,UnconditionalBranch} guards in objdump
before calling MCInstrAnalysis::evaluateBranch. This is fine for other
architectures as they gracefully handle evaluateBranch being called on
non-branches. However, the Lanai MCInstrAnalysis implementation didn't
and that change caused it to crash.

This inserts the same guards back into Lanai's evaluateBranch
implementation and adds a smoke test that exercises `llc | objdump` so
this kind of regression is hopefully caught next time.

Reviewed By: jpienaar, MaskRay

Differential Revision: https://reviews.llvm.org/D107593
2021-09-10 10:46:13 +00:00
..
AMDGPU [AMDGPU][llvm-objdump] Add lit.local.cfg missing from recent commit 2021-04-26 14:07:04 +01:00
COFF
ELF [Lanai] fix MC / objdump 2021-09-10 10:46:13 +00:00
Inputs
MachO [llvm-objdump/mac] Print symbols at the same address deterministically 2021-06-30 22:38:07 -04:00
X86 [llvm-objdump] Fix 'llvm-objdump -dr' for executables with relocations 2021-09-07 11:24:24 -07:00
XCOFF [AIX][XCOFF] 64-bit relocation reading support 2021-08-19 21:56:57 -04:00
wasm [llvm-objdump][WebAssembly] Fix llvm-objdump on files without symbols 2021-07-19 08:59:26 +02:00
all-headers.test [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
archive-headers.test [llvm-objdump] Fix -a after D100433 2021-05-04 10:17:36 -07:00
eh_frame-mipsel.test Add the ability to extract the unwind rows from DWARF Call Frame Information. 2021-01-28 13:39:17 -08:00
eh_frame_zero_cie.test
embedded-source.test
file-headers-pe.test
full-contents.test
help.test [llvm-objdump] Remove Generic Options group from help text output 2021-05-04 17:42:20 +01:00
invalid-input.test
invalid-symbol-table-size.test
malformed-archives.test
mattr-mcpu-help.test
non-archive-object.test
openbsd-headers.test
option-grouping.test
private-headers-dynamic-section.test
private-headers-no-dynamic-segment.test
private-headers-no-dynamic.test
relocation-xindex-symbol.test
relocations-in-nonreloc.test
section-filter.test [llvm-objdump] try to fix section-filter.test in full builds after 51aa61e74b 2021-04-14 20:58:51 -04:00
section-headers.test [llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers 2021-06-29 17:03:21 +01:00
tool-name.test [llvm-objdump] Add an llvm-otool tool 2021-04-20 08:24:58 -04:00
unimplemented-features.test
verneed-wrong-info.test
version.test [llvm-objdump] add -v alias for --version 2021-04-30 11:26:36 -07:00
warn-missing-section.test
warn-on-out-of-range-start-stop-address.test