Files
llvm-6502/test/Object/Inputs/stackmap.s
Lang Hames 63f4054f8e [StackMaps] Add a lightweight parser for stackmap version 1 sections.
The parser provides a convenient interface for reading llvm stackmap v1 sections
in object files.

This patch also includes a new option for llvm-readobj, '-stackmap', which uses
the parser to pretty-print stackmap sections for debugging/testing purposes.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240860 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-26 23:56:53 +00:00

51 lines
714 B
ArmAsm

.section __TEXT,__text,regular,pure_instructions
.globl _trivial_patchpoint_codegen
.align 4, 0x90
_trivial_patchpoint_codegen: ## @trivial_patchpoint_codegen
.fill 1
Ltmp3:
.section __LLVM_STACKMAPS,__llvm_stackmaps
__LLVM_StackMaps:
.byte 1
.byte 0
.short 0
.long 1
.long 1
.long 1
.quad _trivial_patchpoint_codegen
.quad 16
.quad 10000000000
.quad 2
.long Ltmp3-_trivial_patchpoint_codegen
.short 0
.short 5
.byte 1
.byte 8
.short 5
.long 0
.byte 4
.byte 8
.short 0
.long 10
.byte 5
.byte 8
.short 0
.long 0
.byte 2
.byte 8
.short 4
.long -8
.byte 3
.byte 8
.short 6
.long -16
.short 0
.short 1
.short 7
.byte 0
.byte 8
.align 3
.subsections_via_symbols