[llvm-bugs] [Bug 41339] New: Include section names in notes output

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 1 14:41:40 PDT 2019


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

            Bug ID: 41339
           Summary: Include section names in notes output
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-readobj
          Assignee: unassignedbugs at nondot.org
          Reporter: rupprecht at google.com
                CC: jh7370.2008 at my.bristol.ac.uk, llvm-bugs at lists.llvm.org

Taking the test file test/tools/llvm-readobj/note-gnu-property.s as an example:

readelf --notes test/tools/llvm-readobj/Output/note-gnu-property.s.tmp

Displaying notes found in: .note.gnu.property
  Owner                 Data size       Description
  GNU                  0x000000e8       NT_GNU_PROPERTY_TYPE_0
      Properties: stack size: 0x100
...

$ llvm-readelf --notes test/tools/llvm-readobj/Output/note-gnu-property.s.tmp

Displaying notes found at file offset 0x00000040 with length 0x000000f8:
  Owner                 Data size       Description
  GNU                   0x000000e8      NT_GNU_PROPERTY_TYPE_0 (property note)
    Properties:    stack size: 0x100
...

llvm-readelf (or llvm-readobj) never prints the section name that contains the
note.

-- 
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/20190401/80b21921/attachment.html>


More information about the llvm-bugs mailing list