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: unassignedb...@nondot.org
          Reporter: chamal.desi...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to