mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 19:16:53 +00:00
11 lines
430 B
Plaintext
11 lines
430 B
Plaintext
## Verifies that input without relocations is rejected in relocs mode.
|
|
|
|
## 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 %cflags %S/Inputs/icf-jump-tables.c -o %t
|
|
RUN: not llvm-bolt %t -o %t.null --relocs 2>&1 | FileCheck %s
|
|
|
|
CHECK: BOLT-ERROR: relocations against code are missing from the input file.
|