forked from OSchip/llvm-project
11 lines
402 B
Plaintext
11 lines
402 B
Plaintext
# REQUIRES: winres
|
|
|
|
# RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj
|
|
# RUN: lld -flavor link2 /out:%t.dll /dll %t.obj
|
|
# RUN: llvm-readobj -file-headers %t.dll | FileCheck -check-prefix=ENTRY %s
|
|
# RUN: lld -flavor link2 /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
|