summaryrefslogtreecommitdiffstats
path: root/lld/test/COFF/armnt-entry-point.test
blob: 933c0de2860e14bada5138f0ff51c22526ec1877 (plain)
1
2
3
4
5
# RUN: yaml2obj < %p/Inputs/armnt-executable.obj.yaml > %t.obj
# RUN: lld-link /out:%t.exe /entry:mainCRTStartup /subsystem:console %t.obj
# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s

CHECK: AddressOfEntryPoint: 0x1001
OpenPOWER on IntegriCloud