llvm-project/bolt/test/invalid-profile.test

7 lines
200 B
Plaintext

# Check that llvm-bolt detects bad profile data and aborts
RUN: %clang %S/Inputs/icf-jump-tables.c -o %t
RUN: not llvm-bolt %t -o %t.bolt -data %t |& FileCheck %s
CHECK: no valid profile data found