You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
471 B

// REQUIRES: arm
// RUN: llvm-mc -filetype=obj -triple=thumbv7-windows %s -o %t.obj
// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe -debug -pdb:%t.pdb -verbose 2>&1 | FileCheck %s --check-prefix=VERBOSE
// VERBOSE: Added 1 thunks with margin {{.*}} in {{.*}} passes
.syntax unified
.globl main
.globl func1
.text
main:
bne func1
bx lr
.section .text$a, "xr"
.space 0x100000
.section .text$b, "xr"
func1:
bx lr