brintos

brintos / llvm-project-archived public Read only

0
0
Text · 430 B · 3dd4251 Raw
11 lines · plain
1## Verifies that input without relocations is rejected in relocs mode.2 3## This test uses the clang driver without target flags and will only succeed4## on Linux systems where the host triple matches the target.5REQUIRES: system-linux6 7RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t8RUN: not llvm-bolt %t -o %t.null --relocs 2>&1 | FileCheck %s9 10CHECK: BOLT-ERROR: relocations against code are missing from the input file.11