[llvm-bugs] [Bug 40072] New: llvm-symbolizer: Improve GNU compatibility of --functions switch

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 18 03:32:14 PST 2018


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

            Bug ID: 40072
           Summary: llvm-symbolizer: Improve GNU compatibility of
                    --functions switch
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

There are a few compatibility issues between llvm-symbolizer's --functions
switch and GNU addr2line's --functions switch. It would be good to fix these:
1) -f is not an alias for --functions.
2) --functions expects to take an argument in llvm-symbolizer, but not in GNU
addr2line.
3) GNU's default behaviour is to not print function names by default (i.e.
--functions=none), but llvm-symbolizer does --functions=linkage. We should
investigate why this decision was made to be different, and consider the impact
of changing (I don't think we can change the default, but it's probably worth
investigating anyway).

-- 
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/20181218/4ca248df/attachment.html>


More information about the llvm-bugs mailing list