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

Reply via email to