1 # This test checks that tentative code layout for cold blocks always runs.
2 # It commonly happens when using lite mode with split functions.
4 # REQUIRES: system-linux, asserts
6 # RUN: %clang %cflags -o %t %s
7 # RUN: %clang %s %cflags -Wl,-q -o %t
8 # RUN: link_fdata --no-lbr %s %t %t.fdata
9 # RUN: llvm-bolt %t -o %t.bolt --data %t.fdata -split-functions \
10 # RUN: -debug 2>&1 | FileCheck %s
17 # FDATA: 1 foo #.entry_bb# 10
24 ## Force relocation mode.
25 .reloc 0, R_AARCH64_NONE
27 # CHECK: foo{{.*}} cold tentative: {{.*}}