You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
365 B
18 lines
365 B
void __llvm_profile_initialize_file(void);
|
|
int __llvm_orderfile_dump(void);
|
|
|
|
__attribute__((noinline)) int f(int a);
|
|
|
|
__attribute__((noinline)) int g(int a);
|
|
|
|
int main(int argc, const char *argv[]) {
|
|
int a = f(argc);
|
|
int t = 0;
|
|
for (int i = 0; i < argc; i++)
|
|
t += g(a);
|
|
f(t);
|
|
__llvm_profile_initialize_file();
|
|
__llvm_orderfile_dump();
|
|
return 0;
|
|
}
|