brintos

brintos / llvm-project-archived public Read only

0
0
Text · 651 B · d69dbbd Raw
28 lines · plain
1# REQUIRES: asserts2# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t3# RUN: llvm-jitlink -num-threads=0 -debug-only=jitlink -noexec %t 2>&1 \4# RUN:              | FileCheck %s5#6# Check absolute symbol is created with a correct value.7#8# CHECK: Creating graph symbols...9# CHECK:   6: Creating defined graph symbol for COFF symbol "abs" in (absolute) (index: -1)10# CHECK-NEXT:  0x53 (addressable + 0x00000000): size: 0x00000000, linkage: strong, scope: local, dead  -   abs11 12	.text13	.def	abs;14	.scl	3;15	.type	0;16	.endef17	.globl  abs18.set abs, 0x5319 20	.def	main;21	.scl	2;22	.type	32;23	.endef24	.globl	main25	.p2align	4, 0x9026main:27	retq28