[llvm-bugs] [Bug 35109] New: incorrect __sanitizer_cov_trace_pc prototype produces fatal error: error in backend:Sanitizer interface function redefined

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 27 12:18:48 PDT 2017


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

            Bug ID: 35109
           Summary: incorrect __sanitizer_cov_trace_pc prototype produces
                    fatal error: error in backend:Sanitizer interface
                    function redefined
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org

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 (https://github.com/llvm-mirror/clang.git
d2d3a85d2777c75fdda6b69b7b62c0361015288a)
(https://github.com/llvm-mirror/llvm.git
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
http://llvm.org/bugs/ 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: 

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171027/07f012d5/attachment.html>


More information about the llvm-bugs mailing list