This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tools/21792] New: Decode DWARF5 in eu-readelf


https://sourceware.org/bugzilla/show_bug.cgi?id=21792

            Bug ID: 21792
           Summary: Decode DWARF5 in eu-readelf
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: woodard at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 10274
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10274&action=edit
clang compiled object that includes the example above

We are starting to use Clang 4.0.0 at LLNL and it is emitting some DWARF5
opcodes. Please add DWARF5 decoding to eu-readelf.

For example:
#include <string>
#include <vector>

std::vector<std::string> var;

and tangentially I saw something in the DWARF which neither readelf or
eu-readelf understands.
[   7e1]      namespace
               name                 (strp) "__cxx11"
               decl_file            (data1) 1
               decl_line            (data2) 2214
               ??? (0x89)           (flag_present) yes


Since clang is already emitting some DWARF5 we should at least be able to
decode what it is emitting reliably.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]