[lld] r238384 - Fix unused variable warnings.
Michael J. Spencer
bigcheesegs at gmail.com
Wed May 27 17:29:56 PDT 2015
Author: mspencer
Date: Wed May 27 19:29:56 2015
New Revision: 238384
URL: http://llvm.org/viewvc/llvm-project?rev=238384&view=rev
Log:
Fix unused variable warnings.
Modified:
lld/trunk/lib/ReaderWriter/LinkerScript.cpp
Modified: lld/trunk/lib/ReaderWriter/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/LinkerScript.cpp?rev=238384&r1=238383&r2=238384&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/LinkerScript.cpp (original)
+++ lld/trunk/lib/ReaderWriter/LinkerScript.cpp Wed May 27 19:29:56 2015
@@ -938,6 +938,15 @@ void OutputSectionDescription::dump(raw_
void PHDR::dump(raw_ostream &os) const {
os << _name << " " << _type;
+ if (_includeFileHdr)
+ os << " FILEHDR";
+ if (_includePHDRs)
+ os << " PHDRS";
+ if (_at) {
+ os << " AT (";
+ _at->dump(os);
+ os << ")";
+ }
if (_flags)
os << " FLAGS (" << _flags << ")";
os << ";\n";
More information about the llvm-commits
mailing list