2015-06-29 03:56:30 +08:00
|
|
|
# RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: lld-link /out:%t.dll /dll %t.obj
|
2015-06-29 03:56:30 +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
|
2015-06-29 03:56:30 +08:00
|
|
|
# RUN: llvm-readobj -file-headers %t.dll | FileCheck -check-prefix=NOENTRY %s
|
|
|
|
|
|
|
|
ENTRY: AddressOfEntryPoint: 0x1000
|
|
|
|
NOENTRY: AddressOfEntryPoint: 0x0
|