view lld/test/COFF/noentry.test @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
line wrap: on
line source

# RUN: yaml2obj %p/Inputs/export.yaml -o %t.obj
# RUN: lld-link /out:%t.dll /dll %t.obj
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=ENTRY %s
# RUN: lld-link /out:%t.dll /dll /noentry %t.obj
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=NOENTRY %s

ENTRY:   AddressOfEntryPoint: 0x1000
NOENTRY: AddressOfEntryPoint: 0x0