This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][NFC] Update DW_OP_LLVM_overlay documentation
ClosedPublic

Authored by t-tye on Oct 6 2022, 1:16 PM.

Details

Summary

Update DWARF Extensions For Heterogeneous Debugging proposal for the
DW_OP_LLVM_overlay operation:

  1. Add an example.
  2. Correct typo in definition of rbss.
  3. Correct definition to specify both operands of the DW_OP_bit_piece operations.

Diff Detail

Unit TestsFailed

Event Timeline

t-tye created this revision.Oct 6 2022, 1:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2022, 1:16 PM
t-tye requested review of this revision.Oct 6 2022, 1:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2022, 1:16 PM
t-tye updated this revision to Diff 465881.Oct 6 2022, 2:28 PM

Correct type in defintion of rbss.

t-tye edited the summary of this revision. (Show Details)Oct 6 2022, 2:31 PM
t-tye updated this revision to Diff 466085.Oct 7 2022, 8:27 AM

Correct offset operand for DW_OP_bit_extract in DW_OP_LLVM_overlay definition.

t-tye updated this revision to Diff 466207.Oct 7 2022, 3:51 PM

Correct section number of "Extensions" section.

zoran.zaric accepted this revision.Oct 10 2022, 10:05 AM

The new DW_OP_LLVM_overlay example matches my understanding of the original use case for that operation.

This revision is now accepted and ready to land.Oct 10 2022, 10:05 AM
This revision was landed with ongoing or failed builds.Oct 10 2022, 11:51 AM
This revision was automatically updated to reflect the committed changes.