This is an archive of the discontinued LLVM Phabricator instance.

[DWARFv5] Support FORM_line_strp when dumping
ClosedPublic

Authored by probinson on Jan 25 2018, 12:36 PM.

Details

Summary

This form is like DW_FORM_strp, but points to .debug_line_str instead
of .debug_str as the string section. It's intended to be used from
the line-table header, and allows string-pooling of directory and
filenames across compilation units.

Diff Detail

Repository
rL LLVM

Event Timeline

probinson created this revision.Jan 25 2018, 12:36 PM

Most of this is just plumbing through cchanges to track the new section. DWARFFormValue.cpp is really the missing functional bit for dumping purposes.

aprantl accepted this revision.Jan 25 2018, 1:39 PM
This revision is now accepted and ready to land.Jan 25 2018, 1:39 PM

Most of this is just plumbing through cchanges to track the new section.

Agreed. LGTM

This revision was automatically updated to reflect the committed changes.