This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Simplify DWARFExpression. NFC.
ClosedPublic

Authored by ikudrin on Jan 23 2020, 4:01 AM.

Details

Summary

As DataExtractor already has a method to extract an unsigned value of a specified size, there is no need to duplicate that.

Diff Detail

Event Timeline

ikudrin created this revision.Jan 23 2020, 4:01 AM
probinson accepted this revision.Jan 23 2020, 8:24 AM

LGTM, thanks for the simplification!
And it looks like SizeRefAddr could be simplified the same way, either as part of this patch or in a follow-up.

This revision is now accepted and ready to land.Jan 23 2020, 8:24 AM
This revision was automatically updated to reflect the committed changes.