[lld] r234729 - [Mips] Explicitly instantiate MipsELFFile template class

Simon Atanasyan simon at atanasyan.com
Mon Apr 13 08:38:36 PDT 2015


Thanks for the information. The problem fixed at r234756.

I do not have access to Windows machine. Could you please confirm that
now everything is Okay with building LLD on Windows host?

On Mon, Apr 13, 2015 at 5:11 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> I am now seeing this link warning from MSVC:
>
> Warning 1 warning LNK4221: This object file does not define any
> previously undefined public symbols, so it will not be used by any
> link operation that consumes this library
> E:\llvm\2013\tools\lld\lib\ReaderWriter\ELF\Mips\MipsELFFile.obj
>
> Is it expected that this file produces no linkable symbols?
>
> ~Aaron
>
> On Mon, Apr 13, 2015 at 4:35 AM, Simon Atanasyan <simon at atanasyan.com> wrote:
>> Author: atanasyan
>> Date: Mon Apr 13 03:35:04 2015
>> New Revision: 234729
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=234729&view=rev
>> Log:
>> [Mips] Explicitly instantiate MipsELFFile template class
>>
>> Use explicit instantiation to reduce object files size.
>>
>> Added:
>>     lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFile.cpp
>> Modified:
>>     lld/trunk/lib/ReaderWriter/ELF/Mips/CMakeLists.txt
>>     lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFile.h

-- 
Simon Atanasyan



More information about the llvm-commits mailing list