1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/COFF
Martin Storsjo 27aec8037f [COFF] [X86] Don't use llvm_unreachable for unsupported relocation types
This can happen if assembling a reference to _GLOBAL_OFFSET_TABLE_.

While it doesn't make sense to try to assemble that for COFF,
the fact that we previously used llvm_unreachable meant that the code
had undefined behaviour if something tried to assemble that.

The configure script of libgmp would try to assemble such a snippet
(which should signal a failure). If llvm is built without assertions,
the undefined behaviour meant a (near) infinite loop.

Differential Revision: https://reviews.llvm.org/D52903

llvm-svn: 343811
2018-10-04 20:43:38 +00:00
..
ARM
addrsig.s MC: Teach the COFF object writer to write address-significance tables. 2018-08-22 23:58:16 +00:00
alias.s
align-nops.s [X86] Don't use NOPL when the assembler is passed an empty CPU string. Update tests to force a CPU with NOPL 2017-12-18 21:37:27 +00:00
assoc-private.s [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
assoc-undef.s [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
bad-expr.s
basic-coff-64.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
basic-coff.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
bigobj.py
bss_section.ll
bss.s
comm-align.s
comm.ll
comm.s
const-gv-with-rel-init.ll
cross-section-relative-err.s
cross-section-relative.ll
cross-section-relative.s
cv-compiler-info.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
cv-def-range-gap.s [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +00:00
cv-def-range.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
cv-empty-file-table.s
cv-empty-linetable.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
cv-errors.s
cv-fpo-csrs.s [codeview] Improve readobj FPO dumper and pdbutil register names 2018-09-07 18:48:27 +00:00
cv-fpo-errors.s [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00
cv-fpo-realign.s [codeview] Fix 32-bit x86 variable locations in realigned stack frames 2018-10-02 16:43:52 +00:00
cv-fpo-setframe.s [codeview] Improve readobj FPO dumper and pdbutil register names 2018-09-07 18:48:27 +00:00
cv-inline-linetable-infloop.s
cv-inline-linetable-unlikely.s
cv-inline-linetable-unreachable.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
cv-inline-linetable.s [CodeView] Add line numbers for inlined call sites 2018-01-18 22:55:43 +00:00
cv-loc-cross-section.s
cv-loc-unreachable-2.s [codeview] Emit labels for .cv_loc immediately 2018-08-28 22:29:12 +00:00
cv-loc-unreachable.s [codeview] Emit labels for .cv_loc immediately 2018-08-28 22:29:12 +00:00
cv-loc.s
cv-string.s [codeview] Add .cv_string directive for testing purposes 2018-09-07 21:30:52 +00:00
diff.s [MC] Always emit relocations for same-section function references 2018-03-14 19:24:32 +00:00
directive-section-characteristics.ll MC: Don't align COFF section contents. 2018-08-23 05:39:36 +00:00
early-dce.s
eh-frame.s
feat00.s
file.s
global_ctors_dtors.ll
initialised-data.ll
invalid-def.s
invalid-endef.s
invalid-scl-range.s
invalid-scl.s
invalid-type-range.s
invalid-type.s
ir-to-imgrel.ll
label-undefined.s
linker-options.ll
linkonce-invalid.s
linkonce.s
lit.local.cfg
lset0.s
module-asm.ll
offset.s
pr23025.s
pr28462.s
rdata.ll
relax-reloc.s
relocation-imgrel.s [MC] Add support for the .rva assembler directive for COFF targets 2018-07-26 20:11:26 +00:00
safeseh.s
secidx.s
secrel32-undef.s
secrel32.s
secrel-variant.s
section-comdat-conflict2.s
section-comdat-conflict.s
section-comdat.s [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
section-invalid-flags.s
section-name-encoding.s
section-passthru-flags.s
section.s
seh-align1.s
seh-align2.s
seh-align3.s
seh-linkonce.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
seh-section-2.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
seh-section.s
seh-stackalloc-zero.s
seh.s
simple-fixups.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
stdin.s
switch-relocations.ll
symbol-alias.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
symbol-fragment-offset-64.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
symbol-fragment-offset.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
symidx.s Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
temporary-alias.s
timestamp.s
tricky-names.ll MC intel asm parser: Allow @ at the start of function names. 2018-03-12 12:47:27 +00:00
unsupported-relocations.s [COFF] [X86] Don't use llvm_unreachable for unsupported relocation types 2018-10-04 20:43:38 +00:00
weak-alias-local.s
weak-val.s
weak.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00