[llvm-bugs] [Bug 31394] New: -XDemangler option does not work with llvm-cov report

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 15 10:24:09 PST 2016


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

            Bug ID: 31394
           Summary: -XDemangler option does not work with llvm-cov report
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dane at mapbox.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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:
https://gist.github.com/springmeyer/fb0333eb06bdf905e412227609d447df. 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.

-- 
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/20161215/93d09457/attachment.html>


More information about the llvm-bugs mailing list