Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / COFF_abs.s
blob830a2e00f4872fb39a6b81241924baf0b5d833f7
1 # REQUIRES: asserts
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t
3 # RUN: llvm-jitlink --debug-only=jitlink -noexec %t 2>&1 | FileCheck %s
5 # Check absolute symbol is created with a correct value.
7 # CHECK: Creating graph symbols...
8 # CHECK: 6: Creating defined graph symbol for COFF symbol "abs" in (absolute) (index: -1)
9 # CHECK-NEXT: 0x53 (addressable + 0x00000000): size: 0x00000000, linkage: strong, scope: local, dead - abs
11 .text
12 .def abs;
13 .scl 3;
14 .type 0;
15 .endef
16 .globl abs
17 .set abs, 0x53
19 .def main;
20 .scl 2;
21 .type 32;
22 .endef
23 .globl main
24 .p2align 4, 0x90
25 main:
26 retq