Mercurial > hg > CbC > CbC_llvm
view lld/test/COFF/subsystem-inference-mingw.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.o # RUN: lld-link -lldmingw %t.o -out:%t.exe # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s # CHECK: AddressOfEntryPoint: 0x1001 # CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI (0x3) .text .globl foo .globl mainCRTStartup foo: ret mainCRTStartup: call foo ret