1 | void __llvm_profile_initialize_file(void); |
---|---|
2 | int __llvm_orderfile_dump(void); |
3 | |
4 | __attribute__((noinline)) int f(int a); |
5 | |
6 | __attribute__((noinline)) int g(int a); |
7 | |
8 | int main(int argc, const char *argv[]) { |
9 | int a = f(a: argc); |
10 | int t = 0; |
11 | for (int i = 0; i < argc; i++) |
12 | t += g(a); |
13 | f(a: t); |
14 | __llvm_profile_initialize_file(); |
15 | __llvm_orderfile_dump(); |
16 | return 0; |
17 | } |
18 |