[llvm-bugs] [Bug 38488] New: Dump section attribute flags

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 8 11:39:32 PDT 2018


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

            Bug ID: 38488
           Summary: Dump section attribute flags
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-dwarfdump
          Assignee: unassignedbugs at nondot.org
          Reporter: mosescu at google.com
                CC: llvm-bugs at lists.llvm.org

While troubleshooting an LLDB bug I noticed that lldb-dwarfdump output doesn't
say anything about the section flags. SHF_COMPRESSED was the one that I was
looking for, although section headers information is generally useful so I'm
proposing a few additions (roughly sorted from high to low priority):

1. Print section flags next to the section name.

2. Optionally print section size stats: compressed / uncompressed size

3. Add an option to dump just the section headers (similar to --all-headers in
llvm-objdump). This should implicitly include the flags, size stats and
everything else in the section header (alignment, section type, ...)

Most of these suggestions also apply to llvm-objdump.

-- 
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/20180808/d01f3443/attachment.html>


More information about the llvm-bugs mailing list