projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
llvm-symbolizer: make mangled name heuristic apply to all symbols
[oota-llvm.git]
/
test
/
DebugInfo
/
Inputs
/
llvm-symbolizer-test.c
1
int f(int a, int b) {
2
return a + b;
3
}
4
5
int g(int a) {
6
return a + 1;
7
}
8
9
10
int main() {
11
return f(2, g(2));
12
}
13
14
// Built with Clang 3.3:
15
// $ mkdir -p /tmp/dbginfo
16
// $ cp llvm-symbolizer-test.c /tmp/dbginfo
17
// $ cd /tmp/dbginfo
18
// $ clang -g llvm-symbolizer-test.c -o <output>