This is an archive of the discontinued LLVM Phabricator instance.

[StackMaps] Add location size to llvm-readobj -stackmap output
ClosedPublic

Authored by jacob-hughes on Mar 8 2019, 5:23 PM.

Details

Summary

The size field of a location can be different for each entry, so it is useful to have this displayed in the output of llvm-readobj -stackmap. Below is an example of how the output would look:

Record ID: 2882400000, instruction offset: 16
   3 locations:
     #1: Constant 1, size: 8
     #2: Constant 2, size: 8
     #3: Constant 3, size: 8
   0 live-outs: [ ]

Diff Detail

Repository
rL LLVM

Event Timeline

jacob-hughes created this revision.Mar 8 2019, 5:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2019, 5:23 PM
Herald added a subscriber: rupprecht. · View Herald Transcript
reames accepted this revision.Mar 11 2019, 10:43 AM

LGTM, thanks for splitting.

This revision is now accepted and ready to land.Mar 11 2019, 10:43 AM

Update diff after rebasing from up to date master

This revision was automatically updated to reflect the committed changes.