1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/tools/gold/X86
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
..
Inputs [ThinLTO] Auto-hide prevailing linkonce_odr only when all copies eligible 2019-05-10 20:08:24 +00:00
v1.12 [ThinLTO] Import readonly vars with refs 2019-11-07 15:13:35 +03:00
v1.16 [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
alias2.ll
alias.ll
asm_undefined2.ll
asm_undefined.ll
available-externally.ll
bad-alias.ll
bcsection.ll [llvm-nm][llvm-readelf] Avoid single-dash -long-option in tests 2019-04-27 16:12:14 +00:00
cache.ll
coff.ll
comdat2.ll
comdat.ll [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
common_thinlto.ll
common.ll
ctors2.ll
ctors.ll
devirt_vcall_vis_public.ll Restore "[LTO/WPD] Enable aggressive WPD under LTO option" 2020-01-27 07:55:05 -08:00
disable-verify.ll
drop-debug.ll
drop-linkage.ll
emit-asm.ll
emit-llvm.ll
error-unopenable.ll
global_with_section.ll
invalid.ll
irmover-error.ll
linker-script.ll
linkonce_odr_unnamed_addr.ll [Gold Tests] Add missing target flag to X86 test 2019-12-04 11:50:44 -06:00
linkonce-weak.ll
lit.local.cfg
mixed_lto.ll
module_asm.ll
multiple-data.s [gold] Fix two readelf tests after rL359649 2019-05-01 09:01:10 +00:00
multiple-sections.ll [gold] Fix two readelf tests after rL359649 2019-05-01 09:01:10 +00:00
new-pm.ll
no-map-whole-file.ll
opt-level.ll [ThinLTO] Pass down opt level to LTO backend and handle -O0 LTO in new PM 2019-04-23 18:56:19 +00:00
opt-remarks.ll [Remarks] Extend -fsave-optimization-record to specify the format 2019-06-17 16:06:00 +00:00
parallel.ll
pr19901_thinlto.ll [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
pr19901.ll [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
pr25907.ll
pr25915.ll
relax-relocs.ll
relocatable.ll [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
relocation-model-pic.ll
remarks.ll
resolve-to-alias.ll
slp-vectorize-pm.ll [ThinLTO] Pass CodeGenOpts like UnrollLoops/VectorizeLoop/VectorizeSLP 2020-01-09 21:13:11 -08:00
slp-vectorize.ll
split-dwarf.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
start-lib-common.ll
stats-file-option.ll
stats.ll
strip_names.ll Fix check in tools/gold/X86/strip_names.ll regarding unnamed args 2019-08-08 12:11:13 +00:00
thinlto_afdo.ll
thinlto_alias.ll
thinlto_archive.ll [llvm-ar][llvm-nm][llvm-size] Change -long-option to --long-option in tests. NFC 2019-05-01 15:31:15 +00:00
thinlto_cspgo.ll
thinlto_emit_imports.ll
thinlto_emit_linked_objects.ll
thinlto_funcimport.ll
thinlto_internalize.ll
thinlto_linkonceresolution.ll
thinlto_no_objects.ll
thinlto_object_suffix_replace.ll
thinlto_prefix_replace.ll
thinlto_weak_library.ll [gold][test] Fix tests after D75713 and D74749 2020-03-06 13:38:04 -08:00
thinlto_weak_resolution.ll
thinlto.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
type-merge2.ll
type-merge.ll
unnamed-addr.ll
vectorize.ll
visibility.ll [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
weak.ll