[PATCH] D59020: [StackMaps] Update llvm-readobj to parse V3 Stackmaps
Jake Hughes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 04:17:07 PST 2019
jacob-hughes created this revision.
jacob-hughes added reviewers: sanjoy, reames, skatkov, kavon.
Herald added subscribers: jdoerfert, rupprecht.
Herald added a project: LLVM.
This updates the StackMap parser in the llvm-readobj tool to parse version 3 StackMaps, which were bumped in this revision[1].
Version 3 StackMaps differ in that they have a uint16 sized "location size" field was added to the Location block in a StackMap record. The record has additional padding for alignment. This was a backwards incompatible change resulting in a StackMap version bump.
This change also includes the size of each location in the printed output.
[1]: https://reviews.llvm.org/D32629
Repository:
rL LLVM
https://reviews.llvm.org/D59020
Files:
llvm/include/llvm/Object/StackMapParser.h
llvm/test/Object/Inputs/stackmap-test.elf-x86-64
llvm/test/Object/Inputs/stackmap-test.macho-x86-64
llvm/test/Object/stackmap-dump.test
llvm/tools/llvm-readobj/COFFDumper.cpp
llvm/tools/llvm-readobj/ELFDumper.cpp
llvm/tools/llvm-readobj/MachODumper.cpp
llvm/tools/llvm-readobj/StackMapPrinter.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59020.189482.patch
Type: text/x-patch
Size: 23388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190306/74ab75b5/attachment-0001.bin>
More information about the llvm-commits
mailing list