aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/unwind/ehframe/main.c
blob: f62f7d814f3885984d416996b7c1882244fadece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
void func() {
	__asm__ (
		"pushq $0x10;"
		".cfi_def_cfa_offset 16;"
		"jmp label;"
		"movq $0x48, %rax;"
"label: subq $0x38, %rax;"
		"movq $0x48, %rcx;"
		"movq $0x48, %rdx;"
		"movq $0x48, %rax;"
		"popq %rax;"
	);

}


int main(int argc, char const *argv[])
{
	func();
}