forked from OSchip/llvm-project
12 lines
372 B
Plaintext
12 lines
372 B
Plaintext
# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
|
|
|
|
# RUN: lld -flavor link2 /out:%t.exe %t.obj
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=DEFAULT %s
|
|
|
|
DEFAULT: ImageBase: 0x140000000
|
|
|
|
# RUN: lld -flavor link2 /out:%t.exe %t.obj /base:0x280000000
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=BASE %s
|
|
|
|
BASE: ImageBase: 0x280000000
|