[llvm] r217970 - Another required re-setting for MCStreamer::reset().

Yaron Keren yaron.keren at gmail.com
Wed Sep 17 10:50:34 PDT 2014


Author: yrnkrn
Date: Wed Sep 17 12:50:34 2014
New Revision: 217970

URL: http://llvm.org/viewvc/llvm-project?rev=217970&view=rev
Log:
Another required re-setting for MCStreamer::reset().


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=217970&r1=217969&r2=217970&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCStreamer.cpp Wed Sep 17 12:50:34 2014
@@ -53,6 +53,7 @@ void MCStreamer::reset() {
     delete WinFrameInfos[i];
   WinFrameInfos.clear();
   CurrentWinFrameInfo = nullptr;
+  SymbolOrdering.clear();
   SectionStack.clear();
   SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>());
 }





More information about the llvm-commits mailing list