<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 - unresolved external symbol __start___sancov_cntrs"
   href="https://bugs.llvm.org/show_bug.cgi?id=35674">35674</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>unresolved external symbol __start___sancov_cntrs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </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>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chamal.desilva@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - make -fsanitize-coverage=pc-table friendly with -ffunction-sections -Wl,-gc-sections"
   href="show_bug.cgi?id=34636">https://bugs.llvm.org/show_bug.cgi?id=34636</a></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>