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
basic-coff-64.s
basic-coff.s
bss_section.ll
bss.s
comm.ll
diff.s
feat00.s COFF: Ensure that objects produced by LLVM link with /safeseh 2013-09-17 23:18:05 +00:00
global_ctors_dtors.ll
linker-options.ll
linkonce-invalid.s
linkonce.s
lit.local.cfg
module-asm.ll
rdata.ll
relocation-imgrel.s
secrel32.s
secrel-variant.s
section-invalid-flags.s
section-name-encoding.s
section.s
seh-align1.s
seh-align2.s
seh-align3.s
seh-section.s
seh.s
simple-fixups.s
switch-relocations.ll
symbol-alias.s
symbol-fragment-offset-64.s
symbol-fragment-offset.s
symbol-mangling.ll
weak-symbol.ll
weak.s