You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.0 KiB
25 lines
1.0 KiB
# REQUIRES: x86
|
|
# RUN: yaml2obj %p/Inputs/hello32.yaml -o %t.obj
|
|
#
|
|
# RUN: lld-link -safeseh:no %t.obj /fixed %p/Inputs/std32.lib /subsystem:console \
|
|
# RUN: /entry:main@0 /debug /out:%t.fixed.exe
|
|
# RUN: llvm-readobj --file-headers %t.fixed.exe | \
|
|
# RUN: FileCheck -check-prefix=EXEFIXED %s
|
|
#
|
|
# RUN: lld-link -safeseh:no %t.obj %p/Inputs/std32.lib /subsystem:console \
|
|
# RUN: /entry:main@0 /debug /out:%t.exe
|
|
# RUN: llvm-readobj --file-headers %t.exe | FileCheck -check-prefix=EXEREL %s
|
|
#
|
|
# RUN: yaml2obj %p/Inputs/export.yaml -o %t.obj
|
|
#
|
|
# RUN: lld-link -safeseh:no %t.obj /dll /fixed /debug /out:%t.fixed.dll
|
|
# RUN: llvm-readobj --file-headers %t.fixed.dll | FileCheck -check-prefix=DLLFIXED %s
|
|
#
|
|
# RUN: lld-link -safeseh:no %t.obj /dll /debug /out:%t.dll
|
|
# RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=DLLREL %s
|
|
|
|
EXEFIXED-NOT: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
|
|
DLLFIXED-NOT: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
|
|
EXEREL: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
|
|
DLLREL: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
|