llvm-project
10 строк · 374.0 Байт
1## Test that llvm-bolt processes *.so without a failure
2
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.
5REQUIRES: system-linux
6
7RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t.so -shared -fPIC -Wl,--build-id
8RUN: llvm-bolt %t.so -o %t | FileCheck %s
9
10CHECK: patched build-id
11