This is an archive of the discontinued LLVM Phabricator instance.

[ObjectYAML][ELF] Add support for emitting the .debug_pubtypes section.
ClosedPublic

Authored by Higuoxing on Jun 22 2020, 9:54 PM.

Details

Summary

This patch helps add support for emitting the .debug_pubtypes section.

Diff Detail

Event Timeline

Higuoxing created this revision.Jun 22 2020, 9:54 PM
MaskRay added inline comments.Jun 22 2020, 10:11 PM
llvm/test/tools/yaml2obj/ELF/DWARF/debug-pubtypes.yaml
33

Not ^--- ?

Higuoxing marked an inline comment as done.Jun 22 2020, 10:44 PM
Higuoxing added inline comments.
llvm/test/tools/yaml2obj/ELF/DWARF/debug-pubtypes.yaml
33

This is the higher bytes of the offset. If I understand it correctly that ^ is the indicator of a new field. Am I wrong here?

0000: 34120000 02003412 00002143 00007856
                                     ^--- offset (4-byte)
0010: 3412
      ----
This revision is now accepted and ready to land.Jun 23 2020, 12:32 AM
This revision was automatically updated to reflect the committed changes.