1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/ELF
Fangrui Song 25a4f92091 [MC][X86] Allow SHT_PROGBITS for .eh_frame on x86-64
GNU as emits SHT_PROGBITS .eh_frame by default for .cfi_* directives.
We follow x86-64 psABI and use SHT_X86_64_UNWIND for .eh_frame

Don't error for SHT_PROGBITS .eh_frame on x86-64.
This keeps compatibility with `.section .eh_frame,"a",@progbits` in existing assembly files.

See https://groups.google.com/d/msg/x86-64-abi/7sr4E6THl3g/zUU2UPHOAQAJ
for more discussions.

Reviewed By: joerg

Differential Revision: https://reviews.llvm.org/D76151
2020-04-16 10:42:52 -07:00
..
ARM [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
abs.s
addrsig-error.s
addrsig.s
alias-reloc.s
alias-to-local.s
alias.s
align-bss.s
align-nops.s
align-size.s
align-text.s
align-zero.s
align.s
bad-expr2.s [MC] Delete unnecessary diagnostic: "No relocation available to represent this relative expression" 2019-08-19 07:59:35 +00:00
bad-expr3.s
bad-expr.s
bad-relocation.s
bad-section.s
basic-elf-32.s Revert "Reland [ELF] Loose a condition for relocation with a symbol" 2019-07-22 17:48:53 +00:00
basic-elf-64.s [llvm-mc] - Produce R_X86_64_PLT32 relocation for branches with JCC opcodes too. 2020-01-20 11:42:19 +03:00
bracket-exprs.s
bracket.s
bss-large.ll
bss.ll
call-abs.s
cfi-adjust-cfa-offset.s
cfi-advance-loc2.s
cfi-b-key-frame.s
cfi-def-cfa-offset.s
cfi-def-cfa-register.s
cfi-def-cfa.s
cfi-escape.s
cfi-large-model.s
cfi-offset.s
cfi-reg.s
cfi-register.s
cfi-rel-offset2.s
cfi-rel-offset.s
cfi-remember.s
cfi-restore-extended.s
cfi-restore.s
cfi-same-value.s
cfi-sections.s
cfi-signal-frame.s
cfi-undefined.s
cfi-version.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
cfi-window-save.s
cfi-zero-addr-delta.s
cfi.s
cgprofile-error.s
cgprofile.ll
cgprofile.s
comdat-declaration-errors.s
comdat-name-number.s
comdat-reloc.s
comdat.s
common2.s
common-error1.s
common-error2.s
common-error3.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
common-redeclare.s [MC][test] Improve some llvm-objdump -t tests 2020-03-03 17:27:06 -08:00
common.s
comp-dir.s Remove some unnecessary REQUIRES: shell lines 2019-09-10 00:06:52 +00:00
compression.s Revert "Reland [ELF] Loose a condition for relocation with a symbol" 2019-07-22 17:48:53 +00:00
debug-file-options.s
debug-hash-file.s [DebugInfo] Handle '# line "file"' correctly for asm source. 2019-05-21 11:59:03 +00:00
debug-line2.s
debug-line.s
debug-loc.s
debug-main-file.s De-Window-ize a test 2019-05-21 12:08:42 +00:00
debug-md5-err.s
debug-md5.s
debug-mixed-md5.ll
debug-prefix-map.s
debug-source.s
diff2.s
diff.s
discriminator.s
div-by-zero.s
dot-symbol-assignment.s
dwarf-file0.s
dwarf-loc0.s
dwo-restrict-relocs.s
dwo-sections.s
elf_directive_previous.s
elf_directive_section.s
empty-dwarf-lines.s
empty-twice.ll
empty.s [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
entsize.ll
entsize.s
exclude-debug-dwo.s [MC][ELF] Error for sh_type, sh_flags or sh_entsize change 2020-02-21 15:44:14 -08:00
fde.s
file-double.s
file.s
gen-dwarf.s
global-offset.s
gnu-type-diagnostics.s
gnu-type.s
got-relaxed-i386.s
got-relaxed-no-relax.s
got-relaxed-rex.s
got-relaxed.s
got.s
ident.s
ifunc-alias.s [ELF][MC] Set types of aliases of IFunc to STT_GNU_IFUNC 2019-09-07 14:58:47 +00:00
ifunc-reloc.s [MC][ELF] Don't create relocations with section symbols for STB_LOCAL ifunc 2019-06-07 03:47:22 +00:00
invalid-symver.s
lcomm.s
leb128.s
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
local-reloc.s
many-sections-2.s
many-sections-3.s
many-sections.s
merge.s
multiple-different-symver.s Revert r369233. 2019-08-23 18:01:13 +00:00
multiple-equiv-symver.s
n_bytes.s
no-fixup.s
no-reloc.s
nobits-non-zero-value.s [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
nocompression.s
noexec.s
norelocation.s
offset.s
org.s
pic-diff.s
plt.s
popsection.s
pr9292.s
pr19430.s
pr19582.s
relax-all-flag.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
relax-arith2.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
relax-arith3.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
relax-arith4.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
relax-arith.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
relax-crash.s
reloc-same-name-section.s
relocation-386.s [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
relocation-pc.s
relocation.s
rename.s
section-combine.s [MC][ELF] Make linked-to symbol name part of ELFSectionKey 2020-02-14 20:03:04 -08:00
section-entsize-changed.s [MC][ELF] Error for sh_type, sh_flags or sh_entsize change 2020-02-21 15:44:14 -08:00
section-flags-changed.s [MC][ELF] Error for sh_type, sh_flags or sh_entsize change 2020-02-21 15:44:14 -08:00
section-linkorder-error.s [MC][ELF] Rename MC related "Associated" to "LinkedToSym" 2020-02-06 11:31:04 -08:00
section-numeric-flag.s
section-numeric-invalid-type.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
section-numeric-type.s
section-quoting.s
section-relro.ll Added support for "#pragma clang section relro=<name>" 2019-10-15 18:31:10 +00:00
section-sym2.s
section-sym-err2.s
section-sym-err.s
section-sym.s
section-type-changed.s [MC][X86] Allow SHT_PROGBITS for .eh_frame on x86-64 2020-04-16 10:42:52 -07:00
section-unique-err1.s
section-unique-err2.s
section-unique-err3.s
section-unique-err4.s
section-unique.s
section.s Add IR support, ELF section and user documentation for partitioning feature. 2019-05-29 03:29:01 +00:00
set.s
size.s
sleb.s
strtab-suffix-opt.s
subsection.s
subtraction-error.s
symbol-names.s
symver-msvc.s
symver-pr23914.s
symver.s Revert r369233. 2019-08-23 18:01:13 +00:00
target-in-same-section.s [MC] Don't resolve relocations referencing STB_LOCAL STT_GNU_IFUNC 2020-01-13 23:36:06 -08:00
tls-i386.s
tls.s
type-propagate.s
type.s
uleb-ehtable.s
uleb.s
undef-temp.s
undef.s [MC] Emit unused undefined symbol even if its binding is not set 2019-11-08 14:47:48 -08:00
undefined-debug.s
undefined-directional.s
version.s
weak-diff.s
weak-relocation.s
weak.s
weakref-plt.s
weakref-reloc.s
weakref.s [MC] Emit unused undefined symbol even if its binding is not set 2019-11-08 14:47:48 -08:00
x86_64-reloc-sizetest.s
zero.s