1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test/MC/COFF
Rui Ueyama 1682e77fd7 MC/COFF: Do not emit forward associative section referenceds.
MSVC link.exe cannot handle associative sections that refer later
sections in the section header. Technically, such COFF object doesn't
violate the Microsoft COFF spec, as the spec doesn't say anything
about that, but still we should avoid doing that to make it compatible
with MS tools.

This patch assigns smaller section numbers to non-associative sections
and larger numbers to associative sections. This should resolve the
compatibility issue.

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

llvm-svn: 295464
2017-02-17 17:32:54 +00:00
..
ARM [MC] Don't use the architecture to govern which object file format to use 2015-12-22 01:39:04 +00:00
alias.s Fix pr24486. 2015-10-05 12:07:05 +00:00
align-nops.s
bad-expr.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
basic-coff-64.s
basic-coff.s
bigobj.py
bss_section.ll
bss.s
comm-align.s
comm.ll
comm.s
const-gv-with-rel-init.ll
cross-section-relative.ll CodeGen: Use PLT relocations for relative references to unnamed_addr functions. 2016-04-22 20:40:10 +00:00
cross-section-relative.s
cv-compiler-info.ll Emit S_COMPILE3 record once per TU rather than once per function 2016-11-02 21:30:35 +00:00
cv-def-range-gap.s [CodeView] Fix off-by-one error in def range gap emission 2017-01-24 16:57:55 +00:00
cv-def-range.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
cv-empty-file-table.s [codeview] Avoid emitting an empty file checksum table 2016-06-08 17:50:29 +00:00
cv-empty-linetable.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
cv-errors.s Give an x86 assembler test a triple 2016-09-08 15:40:43 +00:00
cv-inline-linetable-infloop.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
cv-inline-linetable-unlikely.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
cv-inline-linetable-unreachable.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
cv-inline-linetable.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
cv-loc-cross-section.s Let test pass for builds that support X86, but do not default to it 2016-10-11 16:34:49 +00:00
cv-loc.s [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
diff.s
directive-section-characteristics.ll
early-dce.s
eh-frame.s
feat00.s
file.s
global_ctors_dtors.ll
initialised-data.ll
invalid-def.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
invalid-endef.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
invalid-scl-range.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
invalid-scl.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
invalid-type-range.s
invalid-type.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
ir-to-imgrel.ll
label-undefined.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
linker-options.ll
linkonce-invalid.s
linkonce.s
lit.local.cfg
lset0.s
module-asm.ll
offset.s
pr23025.s
pr28462.s [MC, COFF] Permit a variable to be redefined 2016-07-08 21:54:16 +00:00
rdata.ll
relax-reloc.s Don't crash trying to relax 32 loads on COFF. 2016-07-07 14:00:07 +00:00
relocation-imgrel.s
safeseh.s
secidx-diagnostic.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
secidx.s
secrel32.s
secrel-variant.s
section-comdat-conflict2.s
section-comdat-conflict.s
section-comdat.s MC/COFF: Do not emit forward associative section referenceds. 2017-02-17 17:32:54 +00:00
section-invalid-flags.s
section-name-encoding.s
section-passthru-flags.s
section.s [MC] Handle discardable COFF sections in assembly 2016-09-14 22:41:50 +00:00
seh-align1.s
seh-align2.s
seh-align3.s
seh-linkonce.s
seh-section-2.s [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
seh-section.s [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
seh-stackalloc-zero.s
seh.s
simple-fixups.s [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
stdin.s Fix bug where WinCOFFObjectWriter would assume starting from an empty output. 2015-11-18 15:24:17 +00:00
switch-relocations.ll
symbol-alias.s
symbol-fragment-offset-64.s
symbol-fragment-offset.s
symbol-mangling.ll
temporary-alias.s MC: Simplify handling of temporary symbols in COFF writer. 2015-11-26 23:29:27 +00:00
timestamp.s Make WinCOFFObjectWriter.cpp's timestamp writing not use ENABLE_TIMESTAMPS 2016-01-06 19:05:19 +00:00
tricky-names.ll
weak-alias-local.s coff: fix weak alias to local. 2016-05-26 20:31:00 +00:00
weak-val.s coff: fix the section of weak symbols. 2016-05-26 18:48:23 +00:00
weak.s coff: fix weak alias to local. 2016-05-26 20:31:00 +00:00