summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-24 21:22:53 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-24 21:22:53 +0000
commitf4ce8fde1882c2dc00f1df754ef71091e16db2ac (patch)
treefe12ab4bfb0c804e7e39001a4504efaec43f6aa8 /llvm/lib/MC/MCStreamer.cpp
parent2db176c4c1ceb860c41dec40db24a734d563db8a (diff)
downloadbcm5719-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.cpp3
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));
}
OpenPOWER on IntegriCloud