Rename CODE_OWNERS -> Maintainers (#114544)
[llvm-project.git] / lld / test / COFF / lto-arm64ec.ll
blobc521449fa39ebefa355a2e2e7aef448c088ddb89
1 ; REQUIRES: aarch64, x86
3 ; RUN: llvm-as %s -o %t.obj
4 ; RUN: llvm-mc -filetype=obj -triple=arm64ec-windows %S/Inputs/loadconfig-arm64ec.s -o %t-loadconfig.obj
6 ; RUN: lld-link -machine:arm64ec %t.obj %t-loadconfig.obj -out:%t.exe -subsystem:console
7 ; RUN: llvm-objdump -d %t.exe | FileCheck %s
9 ; CHECK:      0000000140001000 <.text>:
10 ; CHECK-NEXT: 140001000: 00000009     udf     #0x9
11 ; CHECK-NEXT: 140001004: 52800020     mov     w0, #0x1                // =1
12 ; CHECK-NEXT: 140001008: d65f03c0     ret
14 ; CHECK:      0000000140002000 <.hexpthk>:
15 ; CHECK-NEXT: 140002000: 48 8b c4                     movq    %rsp, %rax
16 ; CHECK-NEXT: 140002003: 48 89 58 20                  movq    %rbx, 0x20(%rax)
17 ; CHECK-NEXT: 140002007: 55                           pushq   %rbp
18 ; CHECK-NEXT: 140002008: 5d                           popq    %rbp
19 ; CHECK-NEXT: 140002009: e9 f6 ef ff ff               jmp     0x140001004 <.text+0x4>
20 ; CHECK-NEXT: 14000200e: cc                           int3
21 ; CHECK-NEXT: 14000200f: cc                           int3
23 target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32"
24 target triple = "arm64ec-unknown-windows-msvc"
26 define dso_local i32 @mainCRTStartup() {
27 entry:
28   ret i32 1