[llvm] r181363 - MCStreamer: Also clear vector of W64UnwindInfos on reset().
Charles Davis
cdavis5x at gmail.com
Tue May 7 14:17:38 PDT 2013
Hi Bill,
Please consider merging this into 3.3. Thanks!
Chip
On May 7, 2013, at 3:14 PM, Charles Davis wrote:
> 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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list