1 # Check that BOLT in lite mode processes fragments as expected.
3 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
4 # RUN: link_fdata %s %t.o %t.fdata
5 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
6 # RUN: llvm-bolt %t.exe -o %t.out --lite=1 --data %t.fdata -v=1 2>&1 \
9 # CHECK: BOLT-INFO: skipping processing main.cold.1 together with parent function
10 # CHECK: BOLT-INFO: skipping processing foo.cold.1/1 together with parent function
11 # CHECK: BOLT-INFO: skipping processing bar.cold.1/1 together with parent function
45 .type main.cold.1, %function
47 # FDATA: 0 [unknown] 0 1 main.cold.1 0 1 0
55 .size main.cold.1, .-main.cold.1
58 .type foo.cold.1, %function
60 # FDATA: 0 [unknown] 0 1 foo.cold.1/1 0 1 0
68 .size foo.cold.1, .-foo.cold.1
71 .type bar.cold.1, %function
73 # FDATA: 0 [unknown] 0 1 bar.cold.1/1 0 1 0
81 .size bar.cold.1, .-bar.cold.1