[llvm-bugs] [Bug 40304] New: Allow combining of single-letter switches in llvm-symbolizer

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 14 02:02:11 PST 2019


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

            Bug ID: 40304
           Summary: Allow combining of single-letter switches in
                    llvm-symbolizer
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-symbolizer
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

See bug 40064 for a similar issue in llvm-readelf.

GNU addr2line allows combining of short aliases into a single argument, e.g:

$ addr2line -Ca test.o

is equivalent to

$ addr2line -C -a test.o

As we are adding lots of new short aliases, we should enable grouping behaviour
in this manner. This should just be a case of adding cl::Grouping to the
relevant switches. We need to be careful that we don't break single-dash long
arguments (e.g. -inlining) by doing this.

-- 
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/20190114/2f28fd45/attachment.html>


More information about the llvm-bugs mailing list