forked from OSchip/llvm-project
MCStreamer: Also clear vector of W64UnwindInfos on reset().
Patch by Kai Nacke! llvm-svn: 181363
This commit is contained in:
parent
68a60451b3
commit
17a0dcb91c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue