[llvm] r181363 - MCStreamer: Also clear vector of W64UnwindInfos on reset().
Charles Davis
cdavis5x at gmail.com
Tue May 7 14:14:16 PDT 2013
Author: cdavis
Date: Tue May 7 16:14:15 2013
New Revision: 181363
URL: http://llvm.org/viewvc/llvm-project?rev=181363&view=rev
Log:
MCStreamer: Also clear vector of W64UnwindInfos on reset().
Patch by Kai Nacke!
Modified:
llvm/trunk/lib/MC/MCStreamer.cpp
Modified: llvm/trunk/lib/MC/MCStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCStreamer.cpp?rev=181363&r1=181362&r2=181363&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCStreamer.cpp Tue May 7 16:14:15 2013
@@ -35,6 +35,7 @@ MCStreamer::~MCStreamer() {
void MCStreamer::reset() {
for (unsigned i = 0; i < getNumW64UnwindInfos(); ++i)
delete W64UnwindInfos[i];
+ W64UnwindInfos.clear();
EmitEHFrame = true;
EmitDebugFrame = false;
CurrentW64UnwindInfo = 0;
More information about the llvm-commits
mailing list