mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
28860823ad
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
14 lines
359 B
ArmAsm
14 lines
359 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t | FileCheck %s
|
|
|
|
"@feat.00" = 123
|
|
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: @feat.00
|
|
// CHECK: Value: 123
|
|
// CHECK: Section: (-1)
|
|
// CHECK: BaseType: Null (0x0)
|
|
// CHECK: ComplexType: Null (0x0)
|
|
// CHECK: StorageClass: External (0x2)
|
|
// CHECK: AuxSymbolCount: 0
|
|
// CHECK: }
|