llvm-6502/test/MC/COFF
Reid Kleckner 28860823ad COFF: Ensure that objects produced by LLVM link with /safeseh
Summary:
We indicate that the object files are safe by emitting a @feat.00
absolute address symbol.  The address is presumably interpreted as a
bitfield of features that the compiler would like to enable.  Bit 0 is
documented in the PE COFF spec to opt in to "registered SEH", which is
what /safeseh enables.

LLVM's object files are safe by default because LLVM doesn't know how to
produce SEH handlers.

Reviewers: Bigcheese

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1691

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190898 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-17 23:18:05 +00:00
..
alias.s COFF: Emit all MCSymbols rather than filtering out some of them 2013-09-17 21:24:44 +00:00
align-nops.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
basic-coff-64.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
basic-coff.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
bss_section.ll [-cxx-abi microsoft] Stick zero initialized symbols into the .bss section for COFF 2013-08-13 01:23:53 +00:00
bss.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
comm.ll Fix alignment of .comm and .lcomm on mingw32. 2012-09-07 21:08:01 +00:00
diff.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
feat00.s COFF: Ensure that objects produced by LLVM link with /safeseh 2013-09-17 23:18:05 +00:00
global_ctors_dtors.ll Emit dtors into proper section while compiling in vcpp-compatible mode. 2012-09-23 15:53:47 +00:00
linker-options.ll [mc-coff] Forward Linker Option flags into the .drectve section 2013-04-25 19:34:41 +00:00
linkonce-invalid.s MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
linkonce.s MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
module-asm.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
rdata.ll Revert "coff also doesn't have a ReadOnlySection yet, (!)" 2013-08-08 01:50:52 +00:00
relocation-imgrel.s MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
secrel32.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
secrel-variant.s Fix section relocation for SECTIONREL32 with immediate offset. 2013-04-25 19:27:05 +00:00
section-invalid-flags.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
section-name-encoding.s MC: Support larger COFF string tables 2013-07-29 12:30:12 +00:00
section.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
seh-align1.s Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
seh-align2.s Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
seh-align3.s Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
seh-section.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
seh.s Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH 2013-09-15 17:46:46 +00:00
simple-fixups.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
switch-relocations.ll
symbol-alias.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
symbol-fragment-offset-64.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
symbol-fragment-offset.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
symbol-mangling.ll MC/X86/COFF: Allow quotes in names when targeting MS/Windows, 2011-11-29 18:00:06 +00:00
weak-symbol.ll Use proper section suffix for COFF weak symbols 2013-07-29 13:58:39 +00:00
weak.s COFF: Fix weak external aliases. 2013-04-22 18:48:56 +00:00