2020-08-21 06:00:25 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/export.yaml -o %t.obj
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: lld-link /out:%t.dll /dll %t.obj
|
2019-05-01 13:49:01 +08:00
|
|
|
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=ENTRY %s
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: lld-link /out:%t.dll /dll /noentry %t.obj
|
2019-05-01 13:49:01 +08:00
|
|
|
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=NOENTRY %s
|
2015-06-29 03:56:30 +08:00
|
|
|
|
|
|
|
ENTRY: AddressOfEntryPoint: 0x1000
|
|
|
|
NOENTRY: AddressOfEntryPoint: 0x0
|