2015-05-31 11:55:46 +08:00
|
|
|
# RUN: lld -flavor link2 /entry:main /out:%t.exe /subsystem:console \
|
|
|
|
# RUN: %p/Inputs/ret42.obj
|
2015-05-30 00:18:15 +08:00
|
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=DEFAULT %s
|
|
|
|
|
|
|
|
DEFAULT: ImageBase: 0x140000000
|
|
|
|
|
2015-05-31 11:55:46 +08:00
|
|
|
# RUN: lld -flavor link2 /entry:main /out:%t.exe /subsystem:console \
|
|
|
|
# RUN: /base:0x280000000 %p/Inputs/ret42.obj
|
2015-05-30 00:18:15 +08:00
|
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=BASE %s
|
|
|
|
|
|
|
|
BASE: ImageBase: 0x280000000
|