<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - BPF target: More meaningful error messages from BPF backend"
href="https://llvm.org/bugs/show_bug.cgi?id=31544">31544</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>BPF target: More meaningful error messages from BPF backend
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>daniel@iogearbox.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The below compile error happens when a BPF program passes a constant NULL
pointer into a function and dereferences a member from it.
fatal error: error in backend: Cannot select: 0x47508a0: ch,glue = BPFISD::CALL
0x48e0380, TargetExternalSymbol:i64'abort'
0x4884ec0: i64 = TargetExternalSymbol'abort'
In function: handle_policy
clang-3.8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.1 (tags/RELEASE_381/final)
Target: bpf
Thread model: posix
InstalledDir: /usr/local/clang/bin
Would be great if this has something more intuitive to the user.</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>