llvm-project/lld/test/pecoff/reloc.test

17 lines
468 B
Plaintext

# REQUIRES: x86
# RUN: yaml2obj %p/Inputs/reloc.obj.yaml > %t1.obj
# RUN: yaml2obj %p/Inputs/abs.obj.yaml > %t2.obj
#
# RUN: lld -flavor link /out:%t.exe /subsystem:console /force /opt:noref \
# RUN: -- %t1.obj %t2.obj
# RUN: llvm-objdump -d %t.exe | FileCheck %s
CHECK: .text:
CHECK: 3000: 68 02 00 00 00
CHECK: 3005: 68 05 00 00 00
CHECK: 300a: 68 00 10 40 00
CHECK: 300f: 68 00 10 40 00
CHECK: 3014: 68 00 20 40 00
CHECK: 3019: 68 ef be ad de