[lld] r306071 - [COFF] Fix SECTION and SECREL relocation handling for absolute symbols

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 11:14:59 PDT 2017


On Thu, Jun 22, 2017 at 5:39 PM, Peter Collingbourne <peter at pcc.me.uk>
wrote:

> I'm getting this warning building lld with this change.
>
> tools/lld/COFF/Writer.cpp:222:13: warning: unused variable 'D'
> [-Wunused-variable]
>   if (auto *D = dyn_cast<DefinedAbsolute>(this))
>             ^
>

Curious, this does not reproduce in my Linux clang build.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170623/e44498dc/attachment.html>


More information about the llvm-commits mailing list