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

            Bug ID: 40760
           Summary: Make llvm-symbolizer behave close to GNU's addr2line
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-symbolizer
          Assignee: unassignedb...@nondot.org
          Reporter: ikud...@accesssoftek.com
                CC: llvm-bugs@lists.llvm.org

We have several differences in the tool's behavior which make it hard to be a
drop-in replacement for addr2line.
In particular:

* llvm-symbolizer has -i, -f and -C options "on" by default;

* llvm-symbolizer prints line and position while addr2line prints only line.

* addr2line allows more flexible usage of the "-e" option.
  For example "-fe <file>" and "-e<file>" command lines are allowed.

While we probably should not change the behavior of the existing tool, which
might affect parsers of its output, can we have another tool, say,
"llvm-addr2line", which would behave close to GNU's one? Something similar to
that we have with "llvm-readobj"/"llvm-readelf".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to