2021-10-09 09:23:32 +08:00
|
|
|
# Test that llvm-bolt processes *.so without a failure
|
2022-07-12 08:58:32 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2022-05-13 22:12:40 +08:00
|
|
|
RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t.so -shared -fPIC -Wl,--build-id
|
2021-10-09 09:23:32 +08:00
|
|
|
RUN: llvm-bolt %t.so -o %t | FileCheck %s
|
|
|
|
|
|
|
|
CHECK: patched build-id
|