[llvm] r244471 - Second part of r244470 (source file was unsaved in editor).

Yaron Keren via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 11:06:01 PDT 2015


Author: yrnkrn
Date: Mon Aug 10 13:06:01 2015
New Revision: 244471

URL: http://llvm.org/viewvc/llvm-project?rev=244471&view=rev
Log:
Second part of r244470 (source file was unsaved in editor).


Modified:
    llvm/trunk/tools/dsymutil/DwarfLinker.cpp

Modified: llvm/trunk/tools/dsymutil/DwarfLinker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DwarfLinker.cpp?rev=244471&r1=244470&r2=244471&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DwarfLinker.cpp (original)
+++ llvm/trunk/tools/dsymutil/DwarfLinker.cpp Mon Aug 10 13:06:01 2015
@@ -2885,11 +2885,11 @@ void DwarfLinker::patchLineTableForUnit(
         // Insert end sequence row with the computed end address, but
         // the same line as the previous one.
         auto NextLine = Seq.back();
-        Seq.back().Address = StopAddress;
-        Seq.back().EndSequence = 1;
-        Seq.back().PrologueEnd = 0;
-        Seq.back().BasicBlock = 0;
-        Seq.back().EpilogueBegin = 0;
+        NextLine.Address = StopAddress;
+        NextLine.EndSequence = 1;
+        NextLine.PrologueEnd = 0;
+        NextLine.BasicBlock = 0;
+        NextLine.EpilogueBegin = 0;
         Seq.push_back(NextLine);
         insertLineSequence(Seq, NewRows);
       }




More information about the llvm-commits mailing list