[lld] r262225 - lto: don't fetch members for weak undef.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 09:34:47 PST 2016


Update llvm. Sorry, but it depends on my last llvm commit.

Cheers,
Rafael
On Feb 29, 2016 11:12 AM, "George Rimar" <grimar at accesssoftek.com> wrote:

> Hi Rafael,
> I faced the next test fail with this commit:
>
> 25>  FAIL: lld :: ELF/lto/undef-weak.ll (226 of 573)
> 25>  ******************** TEST 'lld :: ELF/lto/undef-weak.ll' FAILED
> ********************
> 25>  Script:
> 25>  --
> 25>  llvm-as
> C:\access_softek\llvm\tools\lld\test\ELF\lto/Inputs/archive.ll -o
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp1.o
> 25>  rm -f
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp.a
> 25>  llvm-ar rcs
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp.a
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp1.o
> 25>  llvm-as C:\access_softek\llvm\tools\lld\test\ELF\lto\undef-weak.ll -o
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp2.o
> 25>  C:/access_softek/c_make_build_dir/Debug/bin\ld.lld.EXE -m elf_x86_64
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp2.o
> -o C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\
> undef-weak.ll.tmp2.so
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp.a
> -shared
> 25>  C:/access_softek/c_make_build_dir/Debug/bin\llvm-readobj.EXE -t
> C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\
> undef-weak.ll.tmp2.so |
> C:/access_softek/c_make_build_dir/Debug/bin\FileCheck.EXE
> C:\access_softek\llvm\tools\lld\test\ELF\lto\undef-weak.ll
> 25>  --
> 25>  Exit Code: 1
> 25>
> 25>  Command Output (stdout):
> 25>  --
> 25>  Command 0: "llvm-as"
> "C:\access_softek\llvm\tools\lld\test\ELF\lto/Inputs/archive.ll" "-o"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp1.o"
> 25>  Command 0 Result: 0
> 25>  Command 0 Output:
> 25>
> 25>
> 25>  Command 0 Stderr:
> 25>
> 25>
> 25>  Command 1: "rm" "-f"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp.a"
> 25>  Command 1 Result: 0
> 25>  Command 1 Output:
> 25>
> 25>
> 25>  Command 1 Stderr:
> 25>
> 25>
> 25>  Command 2: "llvm-ar" "rcs"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp.a"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp1.o"
> 25>  Command 2 Result: 0
> 25>  Command 2 Output:
> 25>
> 25>
> 25>  Command 2 Stderr:
> 25>
> 25>
> 25>  Command 3: "llvm-as"
> "C:\access_softek\llvm\tools\lld\test\ELF\lto\undef-weak.ll" "-o"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp2.o"
> 25>  Command 3 Result: 0
> 25>  Command 3 Output:
> 25>
> 25>
> 25>  Command 3 Stderr:
> 25>
> 25>
> 25>  Command 4: "C:/access_softek/c_make_build_dir/Debug/bin\ld.lld.EXE"
> "-m" "elf_x86_64"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp2.o"
> "-o" "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\
> undef-weak.ll.tmp2.so"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\undef-weak.ll.tmp.a"
> "-shared"
> 25>  Command 4 Result: 0
> 25>  Command 4 Output:
> 25>
> 25>
> 25>  Command 4 Stderr:
> 25>
> 25>
> 25>  Command 5:
> "C:/access_softek/c_make_build_dir/Debug/bin\llvm-readobj.EXE" "-t"
> "C:\access_softek\c_make_build_dir\tools\lld\test\ELF\lto\Output\
> undef-weak.ll.tmp2.so"
> 25>  Command 5 Result: 0
> 25>  Command 5 Output:
> 25>
> 25>
> 25>  Command 5 Stderr:
> 25>
> 25>
> 25>  Command 6:
> "C:/access_softek/c_make_build_dir/Debug/bin\FileCheck.EXE"
> "C:\access_softek\llvm\tools\lld\test\ELF\lto\undef-weak.ll"
> 25>  Command 6 Result: 1
> 25>  Command 6 Output:
> 25>
> 25>
> 25>  Command 6 Stderr:
> 25>  C:\access_softek\llvm\tools\lld\test\ELF\lto\undef-weak.ll:23:15:
> error: expected string not found in input
> 25>
> 25>  ; CHECK-NEXT: Value: 0x0
> 25>
> 25>                ^
> 25>
> 25>  <stdin>:19:2: note: scanning from here
> 25>
> 25>   Value: 0x1010
> 25>
> 25>   ^
> 25>
> 25>
> 25>
> 25>
> 25>  --
>
> George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160229/3c7cdf42/attachment.html>


More information about the llvm-commits mailing list