1 # Check that llvm-bolt detects bad profile data and aborts
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.
7 RUN: %clang %S/Inputs/icf-jump-tables.c -o %t
8 RUN: not llvm-bolt %t -o %t.bolt --data %t 2>&1 | FileCheck %s
10 CHECK: no valid profile data found