brintos

brintos / llvm-project-archived public Read only

0
0
Text · 556 B · fff67ab Raw
13 lines · plain
1## Check that the .bolt_info section is generated properly.2 3## This test uses the clang driver without target flags and will only succeed4## on Linux systems where the host triple matches the target.5REQUIRES: system-linux6 7RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t8RUN: 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 %s11 12CHECK: BOLT revision: {{.*}}, command line: {{.*}}llvm-bolt {{.*}}/bolt-info.test.tmp -o {{.*}}/bolt-info.test.tmp.bolt13