llvm-project/lld/test/COFF/common.test

11 lines
330 B
Plaintext

# RUN: yaml2obj %p/Inputs/common.yaml > %t.obj
# RUN: lld -flavor link2 /out:%t.exe %t.obj %t.obj
# RUN: llvm-objdump -d %t.exe | FileCheck %s
# Operands of B8 (MOV EAX) are common symbols
CHECK: 3000: b8 00 10 00 40
CHECK: 3005: b8 04 10 00 40
CHECK: 300a: b8 20 10 00 40
CHECK: 300f: b8 60 10 00 40
CHECK: 3014: b8 80 10 00 40