forked from OSchip/llvm-project
231bfaab31
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 |
||
---|---|---|
.. | ||
AMDGPU | ||
COFF | ||
ELF | ||
Inputs | ||
MachO | ||
X86 | ||
XCOFF | ||
wasm | ||
all-headers.test | ||
archive-headers.test | ||
eh_frame-mipsel.test | ||
eh_frame_zero_cie.test | ||
embedded-source.test | ||
file-headers-pe.test | ||
full-contents.test | ||
help.test | ||
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 | ||
section-headers.test | ||
tool-name.test | ||
unimplemented-features.test | ||
verneed-wrong-info.test | ||
version.test | ||
warn-missing-section.test | ||
warn-on-out-of-range-start-stop-address.test |