[PECOFF] Add a test for /SAFESEH:NO.

llvm-svn: 202314
This commit is contained in:
Rui Ueyama 2014-02-26 23:15:41 +00:00
parent 918b9a77ce
commit cfa657795d
1 changed files with 6 additions and 0 deletions

View File

@ -23,3 +23,9 @@ CHECK: Security Cookie: 0
CHECK: SEH Table: 4210688 CHECK: SEH Table: 4210688
CHECK: SEH Count: 1 CHECK: SEH Count: 1
CHECK: SEH Table: 0x{{[0-9a-f]+}} CHECK: SEH Table: 0x{{[0-9a-f]+}}
# RUN: lld -flavor link /out:%t.exe /subsystem:console /force /nodefaultlib \
# RUN: /safeseh:no -- %t.obj
# RUN: llvm-objdump -private-headers %t.exe | FileCheck -check-prefix=NOSEH %s
NOSEH-NOT: SEH Table: