1*11791ae7SSayhaan Siddiqui## Test that llvm-bolt processes *.so without a failure 242a66fb7SRafael Auler 3*11791ae7SSayhaan Siddiqui## This test uses the clang driver without target flags and will only succeed 4*11791ae7SSayhaan Siddiqui## on Linux systems where the host triple matches the target. 542a66fb7SRafael AulerREQUIRES: system-linux 642a66fb7SRafael Auler 7da766ceaSAmir AyupovRUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t.so -shared -fPIC -Wl,--build-id 8506a91c0SVladislav KhmelevskyRUN: llvm-bolt %t.so -o %t | FileCheck %s 9506a91c0SVladislav Khmelevsky 10506a91c0SVladislav KhmelevskyCHECK: patched build-id 11