This is an archive of the discontinued LLVM Phabricator instance.

NFC. Refactored DIPrinter for support embedded source.
ClosedPublic

Authored by aorlov on May 14 2021, 3:26 PM.

Details

Summary

This patch introduces source loading and pruning functions.
It will allow to use the DWARF embedded source and use the same code for JSON printout.
No functional changes.

Diff Detail

Event Timeline

aorlov created this revision.May 14 2021, 3:26 PM
aorlov requested review of this revision.May 14 2021, 3:26 PM
dblaikie accepted this revision.May 14 2021, 3:43 PM

Looks good, thanks!

This revision is now accepted and ready to land.May 14 2021, 3:43 PM
This revision was landed with ongoing or failed builds.May 15 2021, 12:01 PM
This revision was automatically updated to reflect the committed changes.