forked from OSchip/llvm-project
11 lines
371 B
Plaintext
11 lines
371 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
|