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 | f4ce8fde1882c2dc00f1df754ef71091e16db2ac (patch) | |
tree | fe12ab4bfb0c804e7e39001a4504efaec43f6aa8 /llvm/lib/MC/MCStreamer.cpp | |
parent | 2db176c4c1ceb860c41dec40db24a734d563db8a (diff) | |
download | bcm5719-llvm-f4ce8fde1882c2dc00f1df754ef71091e16db2ac.tar.gz bcm5719-llvm-f4ce8fde1882c2dc00f1df754ef71091e16db2ac.zip |
Test basic SEH directive-parsing functionality. Fix a latent bug exposed by
this test.
llvm-svn: 132004
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp index 1402033d41d..19aeaafc722 100644 --- a/llvm/lib/MC/MCStreamer.cpp +++ b/llvm/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)); } |