This is an archive of the discontinued LLVM Phabricator instance.

[obj2yaml, yaml2obj] Use Hex64 for BBAddressMap fields.
ClosedPublic

Authored by rahmanl on Jan 31 2021, 3:30 PM.

Details

Summary

This patch let the yaml encoding use Hex64 values for NumBlocks, BB AddressOffset, BB Size, and BB Metadata.
Additionally, it changes the decoded values in elf2yaml to uint64_t to match DataExtractor::getULEB128 return type.

Diff Detail

Event Timeline

rahmanl created this revision.Jan 31 2021, 3:30 PM
rahmanl published this revision for review.Jan 31 2021, 3:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2021, 3:31 PM
This revision is now accepted and ready to land.Feb 1 2021, 2:09 AM
This revision was landed with ongoing or failed builds.Feb 1 2021, 3:38 PM
This revision was automatically updated to reflect the committed changes.