1// REQUIRES: arm 2// RUN: llvm-mc -filetype=obj -triple=thumbv7-windows %s -o %t.obj 3// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe -debug -pdb:%t.pdb -verbose 2>&1 | FileCheck %s --check-prefix=VERBOSE 4 5// VERBOSE: Added 1 thunks with margin {{.*}} in {{.*}} passes 6 7 .syntax unified 8 .globl main 9 .globl func1 10 .text 11main: 12 bne func1 13 bx lr 14 .section .text$a, "xr" 15 .space 0x100000 16 .section .text$b, "xr" 17func1: 18 bx lr 19