diff options
author | Charles Davis <cdavis@mines.edu> | 2011-05-24 21:22:53 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2011-05-24 21:22:53 +0000 |
commit | 40de0e013a456971697491b428fb903570e8766e (patch) | |
tree | 77612e0d44b8fee9e4ed35add72d2884ecad3033 /lib/MC/MCStreamer.cpp | |
parent | ce98deb9f512070fe82518594550dd030b26dd96 (diff) | |
download | llvm-40de0e013a456971697491b428fb903570e8766e.tar.gz llvm-40de0e013a456971697491b428fb903570e8766e.tar.bz2 llvm-40de0e013a456971697491b428fb903570e8766e.tar.xz |
Test basic SEH directive-parsing functionality. Fix a latent bug exposed by
this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
-rw-r--r-- | lib/MC/MCStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp index 1402033d41..19aeaafc72 100644 --- a/lib/MC/MCStreamer.cpp +++ b/lib/MC/MCStreamer.cpp @@ -21,7 +21,8 @@ using namespace llvm; MCStreamer::MCStreamer(MCContext &Ctx) : Context(Ctx), EmitEHFrame(true), - EmitDebugFrame(false) { + EmitDebugFrame(false), + CurrentW64UnwindInfo(0) { const MCSection *section = NULL; SectionStack.push_back(std::make_pair(section, section)); } |