1 ## This test verifies that no unnecessary stubs are inserted when each DotAddress increases during a lookup.
3 # REQUIRES: system-linux, asserts
5 # RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
6 # RUN: %clang %cflags -O0 %t.o -o %t.exe -Wl,-q
7 # RUN: link_fdata %s %t.o %t.fdata
8 # RUN: llvm-bolt %t.exe -o %t.bolt \
9 # RUN: --data %t.fdata | FileCheck %s
11 # CHECK: BOLT-INFO: Inserted 1 stubs in the hot area and 0 stubs in the cold area.
19 .type _start, %function
21 # FDATA: 0 [unknown] 0 1 _start 0 0 100
27 .type far_away_func, %function
32 .reloc 0, R_AARCH64_NONE