<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - lld/mac crashes linking chromium/arm with debug symbols"
href="https://bugs.llvm.org/show_bug.cgi?id=50517">50517</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld/mac crashes linking chromium/arm with debug symbols
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>MachO
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>gkm@fb.com, jezreel@gmail.com, llvm-bugs@lists.llvm.org, smeenai@fb.com
</td>
</tr></table>
<p>
<div>
<pre>Repro:
<a href="https://drive.google.com/file/d/1S9qXihwwbaMe8RHnsKYmCjOwFPWyZ1Pd/view?usp=sharing">https://drive.google.com/file/d/1S9qXihwwbaMe8RHnsKYmCjOwFPWyZ1Pd/view?usp=sharing</a>
-- 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 <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>