[lld] r202314 - [PECOFF] Add a test for /SAFESEH:NO.
Rui Ueyama
ruiu at google.com
Wed Feb 26 15:15:41 PST 2014
Author: ruiu
Date: Wed Feb 26 17:15:41 2014
New Revision: 202314
URL: http://llvm.org/viewvc/llvm-project?rev=202314&view=rev
Log:
[PECOFF] Add a test for /SAFESEH:NO.
Modified:
lld/trunk/test/pecoff/seh.test
Modified: lld/trunk/test/pecoff/seh.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/seh.test?rev=202314&r1=202313&r2=202314&view=diff
==============================================================================
--- lld/trunk/test/pecoff/seh.test (original)
+++ lld/trunk/test/pecoff/seh.test Wed Feb 26 17:15:41 2014
@@ -23,3 +23,9 @@ CHECK: Security Cookie: 0
CHECK: SEH Table: 4210688
CHECK: SEH Count: 1
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:
More information about the llvm-commits
mailing list