forked from OSchip/llvm-project
24 lines
977 B
Plaintext
24 lines
977 B
Plaintext
# RUN: yaml2obj %p/Inputs/hello.obj.yaml > %t.obj
|
|
#
|
|
# RUN: lld -flavor link /out:%t1 /subsystem:console /opt:noref /force \
|
|
# RUN: -- %t.obj && llvm-readobj -file-headers %t1 \
|
|
# RUN: | FileCheck %s --check-prefix=DYNAMICBASE
|
|
#
|
|
# RUN: lld -flavor link /out:%t1 /subsystem:console /opt:noref /force \
|
|
# RUN: /dynamicbase:no -- %t.obj && llvm-readobj -file-headers %t1 \
|
|
# RUN: | FileCheck %s --check-prefix=NODYNAMICBASE
|
|
#
|
|
# RUN: lld -flavor link /out:%t1 /subsystem:console /opt:noref /force \
|
|
# RUN: /fixed -- %t.obj && llvm-readobj -file-headers %t1 \
|
|
# RUN: | FileCheck %s --check-prefix=NODYNAMICBASE
|
|
#
|
|
# RUN: not lld -flavor link /out:%t1 /subsystem:console /opt:noref /force \
|
|
# RUN: /fixed /dynamicbase -- %t.obj 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=DYNAMIC-AND-FIXED
|
|
|
|
DYNAMICBASE: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
|
|
|
|
NODYNAMICBASE-NOT: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
|
|
|
|
DYNAMIC-AND-FIXED: /dynamicbase must not be specified with /fixed
|