Test .seh_startchained and .seh_endchained parsing.
authorCharles Davis <cdavis@mines.edu>
Thu, 26 May 2011 02:45:47 +0000 (02:45 +0000)
committerCharles Davis <cdavis@mines.edu>
Thu, 26 May 2011 02:45:47 +0000 (02:45 +0000)
commitca93138e11f404a19553049a569f1fa6ad491b67
tree9885677b07ab9b37121327581d51b57cb4fe635b
parentaa4e6afc9be330770e0b5d41e79aa26c3115bcca
Test .seh_startchained and .seh_endchained parsing.

Rework how the MCWin64EHUnwindInfo instances are stored. Fix issues with
chained unwind areas exposed by the test that were related to this.

The ChainedParent field had the wrong address, because when the chained unwind
info was added, the addresses shifted around. Now we store the pointers to the
structures, which are now allocated from the MC heap.

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