[lld] r238384 - Fix unused variable warnings.
Eric Christopher
echristo at gmail.com
Wed May 27 17:38:36 PDT 2015
... By using them I guess?
-eric
On Wed, May 27, 2015 at 5:38 PM Michael J. Spencer <bigcheesegs at gmail.com>
wrote:
> 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";
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150528/b778c1d7/attachment.html>
More information about the llvm-commits
mailing list