llvm-project/llvm/test/MC/COFF
Rui Ueyama ac20c17962 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
align-nops.s
bad-expr.s
basic-coff-64.s
basic-coff.s
bigobj.py
bss.s
bss_section.ll
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
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 [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
secidx.s
secrel-variant.s
secrel32.s
section-comdat-conflict.s
section-comdat-conflict2.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
stdin.s
switch-relocations.ll
symbol-alias.s
symbol-fragment-offset-64.s
symbol-fragment-offset.s
symbol-mangling.ll
temporary-alias.s
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