1 # Test that llvm-bolt processes *.so without a failure
3 # This test uses the clang driver without target flags and will only succeed
4 # on Linux systems where the host triple matches the target.
7 RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t.so -shared -fPIC -Wl,--build-id
8 RUN: llvm-bolt %t.so -o %t | FileCheck %s
10 CHECK: patched build-id