llvm-project/lld/test/pecoff/armnt-addr32.test

12 lines
411 B
Plaintext

# RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-addr32.obj.yaml
# RUN: llvm-objdump -s %t.obj | FileCheck %s -check-prefix BEFORE
# RUN: lld -flavor link /entry:is /subsystem:console /out:%t.exe %t.obj
# RUN: llvm-objdump -s %t.exe | FileCheck %s -check-prefix AFTER
BEFORE: Contents of section .rdata:
BEFORE: 0000 00000000 00000000
AFTER: Contents of section .rdata:
AFTER: 1000 00104000 00000000