Files
clang-p2996/lld/test/pecoff/imagebase.test
Rui Ueyama ce9b9abb15 [PECOFF] Add file extensions to temporary files.
No functionality change.

llvm-svn: 198075
2013-12-27 08:37:40 +00:00

14 lines
523 B
Plaintext

# RUN: yaml2obj %p/Inputs/imagebase.obj.yaml > %t.obj
# RUN: lld -flavor link /out:%t1.exe /subsystem:console /entry:_start \
# RUN: /opt:noref -- %t.obj
# RUN: llvm-objdump -disassemble %t1.exe | FileCheck -check-prefix=DEFAULT %s
DEFAULT: a1 00 00 40 00 movl 4194304, %eax
# RUN: lld -flavor link /out:%t2.exe /subsystem:console /entry:_start \
# RUN: /base:65536 /opt:noref -- %t.obj
# RUN: llvm-objdump -disassemble %t2.exe | FileCheck -check-prefix=BASE %s
BASE: a1 00 00 01 00 movl 65536, %eax