[llvm-bugs] [Bug 41908] New: Allow --disassemble-functions to take demangled names

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 16 06:59:09 PDT 2019


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

            Bug ID: 41908
           Summary: Allow --disassemble-functions to take demangled names
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objdump
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

It might be nice for --disassemble-functions to be able to accept demangled
names.  This is because they are often shorter and in some situations might be
easier to copy. I'm not exactly sure how this might work in practice. Simply
passing the string and then comparing against the demangled strings of the
symbols might be enough (though there's a performance risk here). Additionally,
we have to consider how to avoid ambiguity as to whether mangled or demangled
names are passed in. One option might be to only allow in demangled names if
the --demangle switch is also specified. There may also be other options.

-- 
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/20190516/5a2f2c5f/attachment.html>


More information about the llvm-bugs mailing list