1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/Hexagon
Fangrui Song bb43600d6c [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names
Follow-up for D74433

What the function returns are almost standard BFD names, except that "ELF" is
in uppercase instead of lowercase.

This patch changes "ELF" to "elf" and changes ARM/AArch64 to use their BFD names.
MIPS and PPC64 have endianness differences as well, but this patch does not intend to address them.

Advantages:

* llvm-objdump: the "file format " line matches GNU objdump on ARM/AArch64 objects
* "file format " line can be extracted and fed into llvm-objcopy -O literally.
  (https://github.com/ClangBuiltLinux/linux/issues/779 has such a use case)

Affected tools: llvm-readobj, llvm-objdump, llvm-dwarfdump, MCJIT (internal implementation detail, not exposed)

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D76046
2020-03-16 07:42:04 -07:00
..
extensions [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
instructions
PacketRules [Hexagon] Move testcase from c1873631d0a8f2acc to proper location 2020-01-17 12:34:50 -06:00
align.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
asmMap.s
audio.s [Hexagon] Add support for Hexagon v67t microarchitecture (tiny core) 2020-01-21 11:35:10 -06:00
basic.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
bug20416.s
capitalizedEndloop.s
cmpyrw.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
common-redeclare.s [llvm-objdump] --syms: make flags closer to GNU objdump 2020-03-05 09:59:53 -08:00
data-directives-invalid.s [Hexagon] Use addAliasForDirective for data directives 2018-05-17 13:21:18 +00:00
data-directives-valid.s [Hexagon] Use addAliasForDirective for data directives 2018-05-17 13:21:18 +00:00
dcfetch-symbol.s
dcfetch.s
dealloc-return-jump.s
decode_acc_type.s
dis-duplex-p0.s
double-vector-producer.s
duplex-addi-global-imm.s
duplex-registers.s
elf-flags.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
empty_asm.s
equ.s
ext-callt-rel.s
extended_relocations.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
extender.s
fixups.s
got.s
gprel-shflag.s [Hexagon] Handle Hexagon's SHF_HEX_GPREL section flag 2018-11-09 14:17:27 +00:00
guest.s
hex-immediates.s [hexagon] change AsmParser assertion to error 2019-05-03 16:50:38 +00:00
hvx-double-implies-hvx.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
hvx-swapped-regpairs-alias-neg.s [Hexagon] v67+ HVX register pairs should support either direction 2020-02-14 12:43:43 -06:00
hvx-swapped-regpairs.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
iconst.s
inst_add64.ll
inst_add.ll
inst_and64.ll
inst_and.ll
inst_aslh.ll
inst_asrh.ll
inst_cmp_eq.ll
inst_cmp_eqi.ll
inst_cmp_gt.ll
inst_cmp_gti.ll
inst_cmp_lt.ll
inst_cmp_ugt.ll
inst_cmp_ugti.ll
inst_cmp_ult.ll
inst_or64.ll
inst_or.ll
inst_select.ll
inst_sub64.ll
inst_sub.ll
inst_sxtb.ll
inst_sxth.ll
inst_xor64.ll
inst_xor.ll
inst_zxtb.ll
inst_zxth.ll
inval_immed.s [hexagon] change AsmParser assertion to error 2019-05-03 16:50:38 +00:00
J2_trap1_dep.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
jumpdoublepound.s
labels.s
lcomm.s [MC] Fix 3 objdump tests after rL346610 2018-11-11 19:15:27 +00:00
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
load-GPRel.s
missing_label.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
multiple_errs.s
new-value-check.s
non-relocatable.s
not_found.s
not-over.s
nowarn.s [llvm-mc] Add reportWarning() to MCContext 2019-08-08 19:13:23 +00:00
offset.s [llvm-objdump] --syms: make flags closer to GNU objdump 2020-03-05 09:59:53 -08:00
operand-range.s
out_of_range.s
packetrelo.s
parse-pound-hi.s
pcrel.s
plt-rel.s
quad_regs.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
reg_altnames.s
register-alt-names.s
registers_readonly.s
relaxed_newvalue.s
relocations.s
ro-c9.s
ro-cc9.s
smallcore_dis.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
solo-axok.s
store-GPRel.s
test.s
tied-ops.s Check for tied operands 2018-08-13 14:01:25 +00:00
tprel_noextend.s
two_ext.s
two-extenders.s
v60-alu.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-misc.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-permute.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-shift.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-vcmp.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-vmem.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-vmpy1.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60-vmpy-acc.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v60lookup.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v62_all.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v62_jumps.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v62a_regs.s
v62a.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v65_all.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v66.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v67_all.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v67.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
v67t_align.s [Hexagon] Add support for Hexagon v67t microarchitecture (tiny core) 2020-01-21 11:35:10 -06:00
v67t_arch.s [Hexagon] Add support for Hexagon v67t microarchitecture (tiny core) 2020-01-21 11:35:10 -06:00
v67t_option.s [Hexagon] Add support for Hexagon v67t microarchitecture (tiny core) 2020-01-21 11:35:10 -06:00
vgather-new.s [Hexagon] Fix the value of HexagonII::TypeCVI_FIRST 2018-06-19 18:09:54 +00:00
vpred_defs.s
vscatter-slot.s
vtmp_def.s
z-instructions.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00