This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump] Print memory operand addresses as regular comments
ClosedPublic

Authored by ikudrin on Jun 24 2021, 7:47 AM.

Details

Summary

The patch reuses the common code to print memory operand addresses as instruction comments. This helps to align the comments and enables using target-specific comment markers when evaluateMemoryOperandAddress() is implemented for them.

Diff Detail

Event Timeline

ikudrin created this revision.Jun 24 2021, 7:47 AM
ikudrin requested review of this revision.Jun 24 2021, 7:47 AM
ikudrin updated this revision to Diff 354254.
MaskRay accepted this revision.Jun 24 2021, 9:44 AM

LGTM.

This revision is now accepted and ready to land.Jun 24 2021, 9:44 AM
skan accepted this revision.Jun 24 2021, 7:42 PM
ikudrin updated this revision to Diff 354473.Jun 25 2021, 5:31 AM
ikudrin added reviewers: int3, thakis, compnerd.
  • Fixed test failures in lld/test/MachO
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
int3 accepted this revision.Jun 25 2021, 9:40 AM

lgtm

This revision was landed with ongoing or failed builds.Jun 28 2021, 12:27 AM
This revision was automatically updated to reflect the committed changes.