This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Add new emitting methods for values which depend on the DWARF format (3/19).
ClosedPublic

Authored by ikudrin on Sep 2 2020, 6:22 AM.

Details

Summary

These methods are going to be used in subsequent patches.

Diff Detail

Event Timeline

ikudrin created this revision.Sep 2 2020, 6:22 AM
ikudrin requested review of this revision.Sep 2 2020, 6:22 AM

Might be too fine-grained, may be better off rolling this into whatever patch uses this functionality & testing it end-to-end there, rather than with a unit test? (unless there are cases that are especially hard to reach via the usual functional tests)

Might be too fine-grained, may be better off rolling this into whatever patch uses this functionality & testing it end-to-end there, rather than with a unit test? (unless there are cases that are especially hard to reach via the usual functional tests)

That is possible, but that would tie patches for independent tables closer than necessary. That would also make patches that introduce the functions less focused.

dblaikie accepted this revision.Sep 10 2020, 7:11 PM

Looks good - thanks!

This revision is now accepted and ready to land.Sep 10 2020, 7:11 PM
This revision was landed with ongoing or failed builds.Sep 14 2020, 10:24 PM
This revision was automatically updated to reflect the committed changes.