- Fix common (arch-independent) tests to explicitly target -linux triple. - Override the triple inside arch-specific tests. - Add cflags to common tests. - Update individual tests. - Expand pipe stderr `|&` shorthand. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D125548
8 lines
279 B
Plaintext
8 lines
279 B
Plaintext
# Check that we detect re-optimization attempt.
|
|
|
|
RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t.exe
|
|
RUN: llvm-bolt %t.exe -o %t 2>&1 > /dev/null
|
|
RUN: not llvm-bolt %t -o %t.bolt 2>&1 | FileCheck %s
|
|
|
|
CHECK: BOLT-ERROR: input file was processed by BOLT. Cannot re-optimize.
|