This is an archive of the discontinued LLVM Phabricator instance.

[HeterogeneousDWARF] Implement extension ops in DebugInfo
Needs ReviewPublic

Authored by scott.linder on Mar 30 2023, 2:58 PM.

Details

Reviewers
jhenderson
Group Reviewers
debug-info
Summary

Implement heterogeneous debug extensions operations.

Diff Detail

Event Timeline

scott.linder created this revision.Mar 30 2023, 2:58 PM
Herald added a project: Restricted Project. · View Herald Transcript
scott.linder requested review of this revision.Mar 30 2023, 2:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 2:58 PM
scott.linder retitled this revision from [HeterogeneousDWARF] Implement extensions in DebugInfo to [HeterogeneousDWARF] Implement extension ops in DebugInfo.
scott.linder edited the summary of this revision. (Show Details)

Rebase and remove duplication of subopcode name printing code

Also fix a bug in the DW_OP_LLVM_user patch (D147271) where the underlying
vectors for the operands and their end-offsets was not resized when
encountering an operation with a subop. I didn't factor this out into its own
patch as it requires an operation with non-0 arity to exercise, which this
patch introduces.