<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - -XDemangler option does not work with llvm-cov report"
   href="https://llvm.org/bugs/show_bug.cgi?id=31394">31394</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>-XDemangler option does not work with llvm-cov report
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dane@mapbox.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I've noticed that passing `-Xdemangler=c++filt -Xdemangler="-n"` to `llvm-cov
show` works. In cases where llvm-cov outputs an `Unexecuted instantiation: ...`
with `-format text` those demangler options correctly demangle the warning
output.

However with `llvm-cov report` I see output like:
<a href="https://gist.github.com/springmeyer/fb0333eb06bdf905e412227609d447df">https://gist.github.com/springmeyer/fb0333eb06bdf905e412227609d447df</a>. Basically
the demangling does not work. I can however get it to work by simply piping the
output like `report ./fixture-tester
-instr-profile=wagyu-fixture-test-coverage.profdata include/ --use-color |
c++filt -n`

I am seeing this bug on OS X with clang++ trunk at
acc4bb8e6635f972b5ae00d961eb68abadcc7120.</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>