brintos

brintos / llvm-project-archived public Read only

0
0
Text · 402 B · 7b21d9c Raw
18 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.o3 4# RUN: lld-link -lldmingw %t.o -out:%t.exe5# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s6 7# CHECK: AddressOfEntryPoint: 0x10018# CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI (0x3)9 10        .text11        .globl foo12        .globl mainCRTStartup13foo:14        ret15mainCRTStartup:16        call foo17        ret18