aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-25 04:08:15 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-25 04:08:15 +0000
commit47268164f3d660f6357cc3a59d510efe3bc9152f (patch)
treea1b204797ec05f77070d9f27dd930721406c71c7 /test/MC/AsmParser
parentfc2bb8c4448fa884d79e437cc2d2627a7d7740a8 (diff)
downloadexternal_llvm-47268164f3d660f6357cc3a59d510efe3bc9152f.zip
external_llvm-47268164f3d660f6357cc3a59d510efe3bc9152f.tar.gz
external_llvm-47268164f3d660f6357cc3a59d510efe3bc9152f.tar.bz2
Add a test for .seh_pushframe parsing. Fix the bug exposed by it (and another
one I found by inspection). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r--test/MC/AsmParser/directive_seh.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_seh.s b/test/MC/AsmParser/directive_seh.s
index 7111fcc..e14be43 100644
--- a/test/MC/AsmParser/directive_seh.s
+++ b/test/MC/AsmParser/directive_seh.s
@@ -1,6 +1,7 @@
# RUN: llvm-mc -triple x86_64-pc-win32 %s | FileCheck %s
# CHECK: .seh_proc func
+# CHECK: .seh_pushframe @code
# CHECK: .seh_stackalloc 24
# CHECK: .seh_endprologue
# CHECK: .seh_handler __C_specific_handler, @except
@@ -11,6 +12,7 @@
.def func; .scl 2; .type 32; .endef
.seh_proc func
func:
+ .seh_pushframe @code
subq $24, %rsp
.seh_stackalloc 24
.seh_endprologue