brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · 241bbb7 Raw
19 lines · plain
1# RUN: llvm-mc -triple=x86_64-unknown-linux -position-independent \2# RUN:     -filetype=obj -o %t.o %s3# RUN: llvm-jitlink -noexec -check=%s %t.o4 5# jitlink-check: decode_operand(main, 4) = _GLOBAL_OFFSET_TABLE_ - next_pc(main)6 7	.text8	.section	.text.main,"ax",@progbits9	.globl	main10	.p2align	4, 0x9011	.type	main,@function12main:13	leal    _GLOBAL_OFFSET_TABLE_(%rip), %ebx14	xorl	%eax, %eax15	retq16.Lfunc_end0:17	.size	main, .Lfunc_end0-main18 19