[PATCH] D59169: [StackMaps] Add location size to llvm-readobj -stackmap output

Jake Hughes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 17:24:03 PST 2019


jacob-hughes created this revision.
jacob-hughes added a reviewer: reames.
Herald added a subscriber: rupprecht.
Herald added a project: LLVM.

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: [ ]



Repository:
  rL LLVM

https://reviews.llvm.org/D59169

Files:
  llvm/test/Object/stackmap-dump.test
  llvm/tools/llvm-readobj/StackMapPrinter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59169.189970.patch
Type: text/x-patch
Size: 10262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190309/3684e199/attachment.bin>


More information about the llvm-commits mailing list