[llvm-bugs] [Bug 39990] New: Demangle symbol names in substrings

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 13 04:43:19 PST 2018


            Bug ID: 39990
           Summary: Demangle symbol names in substrings
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-c++filt
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

GNU's c++filt can demangle symbol names that form parts of another string. It
would be nice if llvm-cxxfilt could as well, as it allows piping e.g. a symbol
table dump from llvm-readelf through llvm-cxxfilt to get the demangled names:


C:\Work> echo "this string contains a _Z7mangledv name" | c++filt
this string contains a mangled() name
C:\Work> echo "this string contains a _Z7mangledv name" | llvm-cxxfilt
this string contains a _Z7mangledv name

It doesn't work currently because llvm-cxxfilt works on whole lines. We should
consider splitting the input string on spaces before running llvm-cxxfilt on

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/20181213/f084224d/attachment.html>

More information about the llvm-bugs mailing list