]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/pecoff/armnt-addr32.test
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / pecoff / armnt-addr32.test
1 # RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-addr32.obj.yaml
2 # RUN: llvm-objdump -s %t.obj | FileCheck %s -check-prefix BEFORE
3 # RUN: lld -flavor link /entry:is /subsystem:console /out:%t.exe %t.obj
4 # RUN: llvm-objdump -s %t.exe | FileCheck %s -check-prefix AFTER
5
6 BEFORE: Contents of section .rdata:
7 BEFORE:  0000 00000000 00000000
8
9 AFTER: Contents of section .rdata:
10 AFTER:  1000 00104000 00000000
11