xref: /llvm-project/llvm/test/tools/llvm-symbolizer/Inputs/symbols.part1.cpp (revision e144ae54dcb96838a6176fd9eef21028935ccd4f)
1 #include "symbols.h"
2 
3 int global_01 = 22;
4 
5 int static static_var = 0;
6 
static_func_01(int x)7 static int static_func_01(int x) {
8   static_var = x;
9   return global_01;
10 }
11 
func_01()12 int func_01() {
13   int res = 1;
14   return res + static_func_01(22);
15 }
16 
func_04()17 int func_04() {
18   static_var = 0;
19   return 22;
20 }
21 
func_04(int x)22 int func_04(int x) {
23   int res = static_var;
24   return res + func_03(x);
25 }
26