Add tests for .seh_setframe and .seh_handlerdata parsing. Fix issues with
authorCharles Davis <cdavis@mines.edu>
Wed, 25 May 2011 21:43:45 +0000 (21:43 +0000)
committerCharles Davis <cdavis@mines.edu>
Wed, 25 May 2011 21:43:45 +0000 (21:43 +0000)
commit410ef2b263e92d3de1b2acff7437059400daed7d
tree7ef4c026f98f34a6c6c4b99110ff0ceb933cf438
parent7bb1c4054986e51682ff89170c740cc16b921236
Add tests for .seh_setframe and .seh_handlerdata parsing. Fix issues with
them.

I had to add a special SwitchSectionNoChange method to MCStreamer just for
.seh_handlerdata. If this isn't OK, please let me know, and I'll find some
other way to fix .seh_handlerdata streaming.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132084 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCParser/COFFAsmParser.cpp
test/MC/AsmParser/directive_seh.s