blob: 361f4ea94f2a515ee8c5dccfac8d2ebb075b71b9 [file] [log] [blame]
# 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