Fix .seh_stackalloc 0
authorReid Kleckner <reid@kleckner.net>
Tue, 1 Jul 2014 00:42:47 +0000 (00:42 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 1 Jul 2014 00:42:47 +0000 (00:42 +0000)
commitcc2a78f941b98060ea8fdfcbad74aa38d833c4a1
treea0538fc681a98a78a96fd42643a8c7ed3c6d1fc2
parentfd6fc71b444b43a3efc4bbc89db561609729bcca
Fix .seh_stackalloc 0

seh_stackalloc 0 is not representable in Win64 SEH info, so emitting it
is a bug.

Reviewers: rnk

Differential Revision: http://reviews.llvm.org/D4334

Patch by Vadim Chugunov!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212081 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCStreamer.cpp
lib/Target/X86/X86FrameLowering.cpp
test/MC/COFF/seh-stackalloc-zero.s [new file with mode: 0644]