[llvm] r237261 - Update ELFObjectWriter::reset() following r236255.
Yaron Keren
yaron.keren at gmail.com
Wed May 13 08:17:19 PDT 2015
Author: yrnkrn
Date: Wed May 13 10:17:19 2015
New Revision: 237261
URL: http://llvm.org/viewvc/llvm-project?rev=237261&view=rev
Log:
Update ELFObjectWriter::reset() following r236255.
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=237261&r1=237260&r2=237261&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Wed May 13 10:17:19 2015
@@ -163,6 +163,8 @@ class ELFObjectWriter : public MCObjectW
LocalSymbolData.clear();
ExternalSymbolData.clear();
UndefinedSymbolData.clear();
+ NeedsGOT = false;
+ SectionTable.clear();
MCObjectWriter::reset();
}
More information about the llvm-commits
mailing list