1 # Test random function splitting option
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.random2 --split-functions \
6 # RUN: --split-strategy=random2 --print-finalized \
7 # RUN: --print-only=two_block --bolt-seed=7 2>&1 | \
9 # RUN: llvm-bolt %t.exe -o %t.randomN --split-functions \
10 # RUN: --split-strategy=randomN --print-finalized \
11 # RUN: --print-only=two_block --bolt-seed=7 2>&1 | \
14 # CHECK: Binary Function "two_block"
20 .type single_block, @function
23 .size single_block, .-single_block
27 .type two_block, @function
40 .size two_block, .-two_block