brintos

brintos / llvm-project-archived public Read only

0
0
Text · 534 B · 2f69fdb Raw
13 lines · plain
1## Check that llvm-bolt rejects input that is not a valid ELF executable2## bzip2.debuginfo is the result of running "objcopy --only-keep-debug".3 4## This test uses the clang driver without target flags and will only succeed5## on Linux systems where the host triple matches the target.6REQUIRES: system-linux7 8RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -g -o %t9RUN: llvm-objcopy --only-keep-debug %t %t.debuginfo10RUN: not llvm-bolt %t.debuginfo -o %t.null 2>&1 | FileCheck %s11 12CHECK: input binary is not a valid ELF executable13