[lld] r306071 - [COFF] Fix SECTION and SECREL relocation handling for absolute symbols
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 23 11:30:08 PDT 2017
Thanks!
Peter
On Fri, Jun 23, 2017 at 11:27 AM, Reid Kleckner <rnk at google.com> wrote:
> This is https://bugs.llvm.org/show_bug.cgi?id=31373
>
> Warning fixed in r306135.
>
> On Fri, Jun 23, 2017 at 11:14 AM, Reid Kleckner <rnk at google.com> wrote:
>
>> 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.
>>
>
>
--
--
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170623/c21a49d6/attachment.html>
More information about the llvm-commits
mailing list