llvm-project/bolt/test/shared-object.test

6 lines
208 B
Plaintext

# Test that llvm-bolt processes *.so without a failure
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