[lld] r295913 - Fix /msvclto.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 15:00:37 PST 2017


On Wed, Feb 22, 2017 at 4:52 PM, Rui Ueyama <ruiu at google.com> wrote:

> 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.
>

Did you ever get a chance to look at this?

Thanks,
-- 
-- 
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170301/a7ce1ad7/attachment.html>


More information about the llvm-commits mailing list