[llvm] r240218 - Update ELFObjectWriter::reset() following r238073.

Yaron Keren yaron.keren at gmail.com
Sat Jun 20 04:54:34 PDT 2015


Author: yrnkrn
Date: Sat Jun 20 06:54:32 2015
New Revision: 240218

URL: http://llvm.org/viewvc/llvm-project?rev=240218&view=rev
Log:
Update ELFObjectWriter::reset() following r238073.


Modified:
    llvm/trunk/lib/MC/ELFObjectWriter.cpp

Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=240218&r1=240217&r2=240218&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Sat Jun 20 06:54:32 2015
@@ -144,6 +144,7 @@ class ELFObjectWriter : public MCObjectW
       Renames.clear();
       Relocations.clear();
       StrTabBuilder.clear();
+      SymtabShndxSectionIndex = 0;
       SectionTable.clear();
       MCObjectWriter::reset();
     }





More information about the llvm-commits mailing list