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

            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: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: llvm-bugs@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:

Example:

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
it.

-- 
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