mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 21:26:05 +00:00
11 lines
374 B
Plaintext
11 lines
374 B
Plaintext
## Test that llvm-bolt processes *.so without a failure
|
|
|
|
## 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.so -shared -fPIC -Wl,--build-id
|
|
RUN: llvm-bolt %t.so -o %t | FileCheck %s
|
|
|
|
CHECK: patched build-id
|