llvm-6502/test/MC/AArch64
Tim Northover 5b003bb869 llvm-readobj: fix MachO relocatoin printing a bit.
There were two issues here:
1. At the very least, scattered relocations cannot use the same code to
   determine the corresponding symbol being referred to. For some reason we
   pretend there is no symbol, even when one actually exists in the symtab, so to
   match this behaviour getRelocationSymbol should simply return symbols_end for
   scattered relocations.
2. Printing "-" when we can't get a symbol (including the scattered case, but
   not exclusively), isn't that helpful. In both cases there *is* interesting
   information in that field, so we should print it. As hex will do.

Small part of rdar://problem/17553104

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212332 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-04 10:57:56 +00:00
..
adrp-relocation.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-adr.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-advsimd.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-aliases.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-arithmetic-encoding.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-arm64-fixup.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-basic-a64-instructions.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-be-datalayout.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-bitfield-encoding.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-branch-encoding.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-condbr-without-dots.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-crypto.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-diagno-predicate.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-diags.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-directive_loh.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-elf-reloc-condbr.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-elf-relocs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-fp-encoding.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-large-relocs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-leaf-compact-unwind.s llvm-readobj: fix MachO relocatoin printing a bit. 2014-07-04 10:57:56 +00:00
arm64-logical-encoding.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-mapping-across-sections.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-mapping-within-section.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-memory.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-nv-cond.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-optional-hash.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-separator.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-simd-ldst.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-small-data-fixups.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-spsel-sysreg.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-system-encoding.s Fix typos 2014-06-07 21:23:09 +00:00
arm64-target-specific-sysreg.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-tls-modifiers-darwin.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-tls-relocs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-v128_lo-diagnostics.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-variable-exprs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-vector-lists.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
arm64-verbose-vector-case.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
basic-a64-diagnostics.s Condition codes AL and NV are invalid in the aliases that use 2014-06-10 13:11:35 +00:00
basic-a64-instructions.s [AArch64] Missing aliases for CMP/CMN [W]SP with no shift 2014-06-09 11:10:14 +00:00
basic-pic.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
dot-req-case-insensitive.s aarch64: support target-specific .req assembler directive 2014-07-02 04:50:23 +00:00
dot-req-diagnostics.s aarch64: support target-specific .req assembler directive 2014-07-02 04:50:23 +00:00
dot-req.s aarch64: support target-specific .req assembler directive 2014-07-02 04:50:23 +00:00
elf-extern.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-globaladdress.ll AArch64/ARM64: enable some MC tests on ARM64 2014-04-24 12:12:01 +00:00
elf-objdump.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-addsubimm.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-ldrlit.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-ldstunsimm.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-movw.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-pcreladdressing.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-tstb.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
elf-reloc-uncondbrimm.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
gicv3-regs-diagnostics.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
gicv3-regs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
inline-asm-modifiers.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
jump-table.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
ldr-pseudo-obj-errors.s ldr-pseudo-obj-errors.s: Fix silly copypasto. 2014-06-24 23:18:07 +00:00
ldr-pseudo.s Fix test case in r211605/r211533 2014-06-24 17:05:43 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
mapping-across-sections.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
mapping-within-section.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-2velem.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-3vdiff.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-aba-abd.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-across.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-add-pairwise.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-add-sub-instructions.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-bitwise-instructions.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-compare-instructions.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-crypto.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-diagnostics.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-extract.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-facge-facgt.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-frsqrt-frecp.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-halving-add-sub.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-max-min-pairwise.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-max-min.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-mla-mls-instructions.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-mov.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-mul-div-instructions.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-perm.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-rounding-halving-add.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-rounding-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-saturating-add-sub.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-saturating-rounding-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-saturating-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-abs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-add-sub.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-by-elem-mla.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-by-elem-mul.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-by-elem-saturating-mla.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-by-elem-saturating-mul.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-compare.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-cvt.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-dup.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-extract-narrow.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-fp-compare.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-mul.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-neg.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-recip.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-reduce-pairwise.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-rounding-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-saturating-add-sub.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-saturating-rounding-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-saturating-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-shift-imm.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-scalar-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-shift-left-long.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-simd-copy.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-simd-ldst-multi-elem.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-simd-ldst-one-elem.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-simd-misc.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-simd-post-ldst-multi-elem.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-simd-shift.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-sxtl.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
neon-tbl.s AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64. 2014-05-24 12:42:26 +00:00
neon-uxtl.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
noneon-diagnostics.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
optional-hash.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
tls-relocs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
trace-regs-diagnostics.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
trace-regs.s AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00