[lld] r295913 - Fix /msvclto.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 16:52:23 PST 2017


On Wed, Feb 22, 2017 at 4:51 PM, Peter Collingbourne <peter at pcc.me.uk>
wrote:

> On Wed, Feb 22, 2017 at 4:26 PM, Rui Ueyama via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>>
>> Modified: lld/trunk/test/COFF/msvclto.ll
>> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/msvc
>> lto.ll?rev=295913&r1=295912&r2=295913&view=diff
>> ============================================================
>> ==================
>> --- lld/trunk/test/COFF/msvclto.ll (original)
>> +++ lld/trunk/test/COFF/msvclto.ll Wed Feb 22 18:26:42 2017
>> @@ -1,6 +1,7 @@
>> -; RUN: llvm-as -o %t1.obj %s
>> -; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t2.obj
>> %p/Inputs/msvclto.s
>> -; RUN: lld-link %t1.obj %t2.obj /msvclto /out:%t.exe /opt:lldlto=1
>> /opt:icf \
>> +; RUN: llvm-as -o %t.obj %s
>> +; RUN: mkdir -p %t.dir
>> +; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o
>> %t.dir/bitcode.obj %p/Inputs/msvclto.s
>> +; RUN: lld-link %t.obj %t.dir/bitcode.obj /msvclto /out:%t.exe
>> /opt:lldlto=1 /opt:icf \
>>
>
> Did you mean to pass "/libpath:%t.dir bitcode.obj"?
>

Yes. So this test should have failed but it succeeded. I'll fix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170222/eb0e38ca/attachment.html>


More information about the llvm-commits mailing list