1## Check that the .bolt_info section is generated properly. 2 3## This test uses the clang driver without target flags and will only succeed 4## on Linux systems where the host triple matches the target. 5REQUIRES: system-linux 6 7RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t 8RUN: llvm-bolt %t -o %t.bolt && \ 9RUN: llvm-objdump -s -j .note.bolt_info %t.bolt | grep -v "file format" | \ 10RUN: cut -c 44- | tr -d '\n' | FileCheck %s 11 12CHECK: BOLT revision: {{.*}}, command line: {{.*}}llvm-bolt {{.*}}/bolt-info.test.tmp -o {{.*}}/bolt-info.test.tmp.bolt 13