diff options
author | Pedro Artigas <partigas@apple.com> | 2013-01-04 18:04:42 +0000 |
---|---|---|
committer | Pedro Artigas <partigas@apple.com> | 2013-01-04 18:04:42 +0000 |
commit | b9d1005e96681b5c8cc1ed959fa129de62933020 (patch) | |
tree | f2b9b160817bf2e13e953af6349551f9057749c3 /lib/MC/MCObjectStreamer.cpp | |
parent | 60230ef987f234df88a166fc7878cf3051bca0a1 (diff) |
small fixes to enable the reuse of the pass manager across multiple modules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCObjectStreamer.cpp')
-rw-r--r-- | lib/MC/MCObjectStreamer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCObjectStreamer.cpp b/lib/MC/MCObjectStreamer.cpp index e36e181ff5..6d5c0a54f3 100644 --- a/lib/MC/MCObjectStreamer.cpp +++ b/lib/MC/MCObjectStreamer.cpp @@ -47,6 +47,7 @@ MCObjectStreamer::~MCObjectStreamer() { void MCObjectStreamer::reset() { if (Assembler) Assembler->reset(); + CurSectionData = 0; MCStreamer::reset(); } |