blob: 1725a08577e347552f9b02f68eaa66e34b5c12ea (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Check that llvm-bolt detects bad profile data and aborts
# This test uses the clang driver without target flags and will only succeed
# on Linux systems where the host triple matches the target.
REQUIRES: system-linux
RUN: %clang %S/Inputs/icf-jump-tables.c -o %t
RUN: not llvm-bolt %t -o %t.bolt --data %t 2>&1 | FileCheck %s
CHECK: no valid profile data found
|