1 # Test split all block strategy
3 # RUN: llvm-mc --filetype=obj --triple x86_64-unknown-unknown %s -o %t.o
4 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
5 # RUN: llvm-bolt %t.exe -o %t.bolt --split-functions --split-strategy=all \
6 # RUN: --print-split --print-only=chain \
7 # RUN: 2>&1 | FileCheck %s
9 # CHECK: Binary Function "chain"
13 # CHECK: ------- HOT-COLD SPLIT POINT -------
15 # CHECK: ------- HOT-COLD SPLIT POINT -------
17 # CHECK: ------- HOT-COLD SPLIT POINT -------
19 # CHECK: ------- HOT-COLD SPLIT POINT -------
21 # CHECK: ------- HOT-COLD SPLIT POINT -------
23 # CHECK: ------- HOT-COLD SPLIT POINT -------
25 # CHECK: ------- HOT-COLD SPLIT POINT -------
27 # CHECK: End of Function "chain"
31 .type chain, @function
68 .size chain, .Lchain_end-chain
84 .size main, .Lmain_end-main