This is an archive of the discontinued LLVM Phabricator instance.

Add legacy GNU entry value support to dsymutil
AbandonedPublic

Authored by aprantl on Jun 2 2020, 9:49 AM.

Details

Summary

Here is a blind attempt to make the legacy GNU attributes work in dsymutil — however it doesn't actually work yet. Since it's not perfectly clear to me how the GNU attributes map to the standardized version, help is appreciated!

Diff Detail

Event Timeline

aprantl created this revision.Jun 2 2020, 9:49 AM
Herald added a project: Restricted Project. · View Herald Transcript
vsk added a comment.Jun 2 2020, 9:57 AM

Looks like all the DW_AT_low_pc handling is done earlier, on line 1045: if (AttrSpec.Attr == dwarf::DW_AT_low_pc) { ....

aprantl abandoned this revision.Jun 2 2020, 9:59 AM

Vedant convinced me that it is better to not attempt to support this. It's transitional anyway, and the LLDB tests have been skipped now.