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

21 lines
652 B
Plaintext

# REQUIRES: x86
# RUN: yaml2obj %p/Inputs/reloc64.obj.yaml > %t.obj
# RUN: lld -flavor link /out:%t.exe /subsystem:console /machine:x64 \
# RUN: /entry:entry -- %t.obj
# RUN: llvm-objdump -d %t.exe | FileCheck %s
CHECK: Disassembly of section .text:
CHECK-NEXT: .text:
CHECK-NEXT: 1000: 48 b8 28 10 00 40 01 00 00 ff
CHECK-NEXT: 100a: e8 19 00 00 ff
CHECK-NEXT: 100f: e8 13 00 00 ff
CHECK-NEXT: 1014: e8 0d 00 00 ff
CHECK-NEXT: 1019: e8 07 00 00 ff
CHECK-NEXT: 101e: e8 01 00 00 ff
CHECK-NEXT: 1023: e8 fb ff ff fe
CHECK-NEXT: 1028: e8 01 00 00 ff
CHECK-NEXT: 102d: e8 28 00 00 ff
CHECK-NEXT: 1032: c3