2 // RUN
: llvm-mc
-filetype
=obj
-triple
=thumbv7a-none-linux-gnueabi
%s
-o
%t
3 // RUN
: ld.lld
%t -o
%t2
4 // RUN
: llvm-objdump
--triple
=thumbv7a-none-linux-gnueabi
-d
%t2 | FileCheck
%s
6 // Check that no thunks are created for an undefined weak symbol
11 .section .text.thumb, "ax", %progbits
19 // CHECK
: Disassembly of section
.text:
21 // CHECK-NEXT
: <_start
>:
22 // 0x110b8 = next instruction
23 // CHECK
: 200b4
: {{.*}} bl #0
24 // CHECK-NEXT
: 200b8
: {{.*}} b.w #0 <_start+0x8>
25 // CHECK-NEXT
: 200bc: {{.*}} b.w #0 <_start+0xc>