<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 Mach-O backend reports a warning when using DWARF 5"
href="https://bugs.llvm.org/show_bug.cgi?id=52326">52326</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld Mach-O backend reports a warning when using DWARF 5
</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>normal
</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>phosek@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>gkm@fb.com, jezreel@gmail.com, llvm-bugs@lists.llvm.org, nicolasweber@gmx.de, smeenai@fb.com, vyng@google.com
</td>
</tr></table>
<p>
<div>
<pre>You can reproduce it with the following:
```
$ cat >a.c <<EOF
int main() {}
EOF
$ clang a.c -gdwarf-5 -fuse-ld=lld
ld64.lld: warning: /var/folders/5t/h2t4fx3d2bg1yfs2pcwgzzlw0056zt/T/a-60c5cf.o:
invalid reference to or invalid content in .debug_str_offsets[.dwo]: section
offset exceeds section size
```</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>