[llvm-bugs] [Bug 35674] New: unresolved external symbol __start___sancov_cntrs

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 16 05:45:54 PST 2017


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

            Bug ID: 35674
           Summary: unresolved external symbol __start___sancov_cntrs
           Product: compiler-rt
           Version: 5.0
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: chamal.desilva at gmail.com
                CC: llvm-bugs at lists.llvm.org

Operating System : Windows 10

Steps:
1. clang.exe -fsanitize=address -fsanitize-coverage=inline-8bit-counters 
target.cpp (Please use any cpp file)
2. Above command fails and display this error message.
target-3c30bb.o : error LNK2019: unresolved external symbol
__start___sancov_cntrs referenced in function sancov.module_ctor
target-3c30bb.o : error LNK2019: unresolved external symbol
__stop___sancov_cntrs referenced in function sancov.module_ctor
a.exe : fatal error LNK1120: 2 unresolved externals
clang.exe: error: linker command failed with exit code 1120 (use -v to see
invocation)

Above command works fine in Linux.
Similar Bug: https://bugs.llvm.org/show_bug.cgi?id=34636

-- 
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/20171216/2694ae0d/attachment.html>


More information about the llvm-bugs mailing list