llvm-project/bolt/test/invalid-profile.test
Rafael Auler 42a66fb727 [BOLT] Restrict execution of tests that fail on Windows
Turn off execution of tests that use UNIX-specific features.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D126933
2022-07-11 17:59:58 -07:00

11 lines
367 B
Plaintext

# 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