This is an archive of the discontinued LLVM Phabricator instance.

[DWARFv5] Emit split type units in .debug_info.dwo
ClosedPublic

Authored by probinson on Nov 9 2018, 1:21 PM.

Details

Summary

I laugh and say "nothing's that simple."

Ideas for test cases that would get split CUs and TUs to step on each others toes?
I really thought having them in the same section would be a problem.

Diff Detail

Repository
rL LLVM

Event Timeline

probinson created this revision.Nov 9 2018, 1:21 PM
dblaikie accepted this revision.Nov 9 2018, 5:45 PM

Looks good to me! Seems to come out naturally/unsurprisingly/unlikely to be weird by DwarfFile::emitUnit - whether it's TUs, CUs, in different sections, the same section, interleaved or separate.

Go engineering! always nice to see it come together so well :)

This revision is now accepted and ready to land.Nov 9 2018, 5:45 PM
This revision was automatically updated to reflect the committed changes.