<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 - incorrect __sanitizer_cov_trace_pc prototype produces fatal error: error in backend:Sanitizer interface function redefined"
href="https://bugs.llvm.org/show_bug.cgi?id=35109">35109</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>incorrect __sanitizer_cov_trace_pc prototype produces fatal error: error in backend:Sanitizer interface function redefined
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>An error is expected for this case, but it should not be one suggesting
submission of an LLVM bug report.
% clang -fsanitize-coverage=trace-pc hellosan.c
void ()* bitcast (void (i8*)* @__sanitizer_cov_trace_pc to void ()*)
fatal error: error in backend: Sanitizer interface function redefined: void ()*
bitcast (void (i8*)* @__sanitizer_cov_trace_pc to void ()*)
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (<a href="https://github.com/llvm-mirror/clang.git">https://github.com/llvm-mirror/clang.git</a>
d2d3a85d2777c75fdda6b69b7b62c0361015288a)
(<a href="https://github.com/llvm-mirror/llvm.git">https://github.com/llvm-mirror/llvm.git</a>
f1bc4aa5fa5b44ded9991dfa0df5d1a9d13ff5b7)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /home/emaste/src/sanitize/../llvm/build/bin
clang-6.0: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-6.0: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-6.0: note: diagnostic msg: /tmp/hellosan-20aa32.c
clang-6.0: note: diagnostic msg: /tmp/hellosan-20aa32.sh
clang-6.0: note: diagnostic msg:
********************</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>