llvm-project/lld/test/COFF/base.test

12 lines
433 B
Plaintext
Raw Normal View History

# RUN: lld -flavor link2 /entry:main /out:%t.exe /subsystem:console \
# RUN: %p/Inputs/ret42.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=DEFAULT %s
DEFAULT: ImageBase: 0x140000000
# RUN: lld -flavor link2 /entry:main /out:%t.exe /subsystem:console \
# RUN: /base:0x280000000 %p/Inputs/ret42.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=BASE %s
BASE: ImageBase: 0x280000000