1// RUN: split-file %s %t
2// RUN: cd %t
3//
4// RUN: %clang_pgogen foo.c -c -o foo.o
5// RUN: %clang_pgogen -shared foo.o -o libfoo.so -bexpall
6// RUN: %clang_pgogen -L%t user.c libfoo.so -o user1
7// RUN: ./user1
8
9//--- foo.c
10void foo() {}
11
12//--- user.c
13void foo();
14int main() { foo(); }
15

source code of compiler-rt/test/profile/AIX/shared-bexpall-pgo.c