https://bugs.llvm.org/show_bug.cgi?id=50517

            Bug ID: 50517
           Summary: lld/mac crashes linking chromium/arm with debug
                    symbols
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: g...@fb.com, jezr...@gmail.com,
                    llvm-bugs@lists.llvm.org, smee...@fb.com

Repro:
https://drive.google.com/file/d/1S9qXihwwbaMe8RHnsKYmCjOwFPWyZ1Pd/view?usp=sharing
-- 10G bzipped, 50G unzipped :/ Takes a bit to download and to unzip, but after
that we crash reasonably quickly:

 % time ~/src/llvm-project/out/gn/bin/ld64.lld @response.txt
ld64.lld: warning: Option `-dead_strip' is not yet implemented. Stay tuned...
Assertion failed: (Val && "isa<> used on a null pointer"), function doit, file
../../llvm/include/llvm/Support/Casting.h, line 104.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld
@response.txt
zsh: abort      ~/src/llvm-project/out/gn/bin/ld64.lld @response.txt
~/src/llvm-project/out/gn/bin/ld64.lld @response.txt  10.79s user 1.82s system
52% cpu 24.128 total

I'm at 8086f9d87ee81aacf829bdad94744a75cf692ebc (I synced yesterday).


Doesn't seem to happen in a chromium/intel build with debug symbols as far as I
can tell.

(I also used lld to link the lld I'm currently using, so it theoretically be a
bug caused by lld writing a bad binary, but since things linked using lld
generally seem to work I think it's more likely it's a code bug.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to