Skip to content
Snippets Groups Projects
Commit 882cfc17 authored by Avi Kivity's avatar Avi Kivity
Browse files

x64: extract cfi macros into a new file

parent 4a5a8462
No related branches found
No related tags found
No related merge requests found
# macros for cfi annotations
.macro pushq_cfi reg
pushq \reg
.cfi_adjust_cfa_offset 8
.cfi_rel_offset \reg, 0
.endm
.macro popq_cfi reg
popq \reg
.cfi_adjust_cfa_offset -8
.cfi_restore \reg
.endm
.macro pushq_cfi reg
pushq \reg
.cfi_adjust_cfa_offset 8
.cfi_rel_offset \reg, 0
.endm
.macro popq_cfi reg
popq \reg
.cfi_adjust_cfa_offset -8
.cfi_restore \reg
.endm
.include "arch/x64/cfi.s"
.macro exception_entry name, handler, has_error_code
.global \name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment