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.
19 lines
290 B
19 lines
290 B
4 months ago
|
int f(int a, int b) {
|
||
|
return a + b;
|
||
|
}
|
||
|
|
||
|
int g(int a) {
|
||
|
return a + 1;
|
||
|
}
|
||
|
|
||
|
|
||
|
int main() {
|
||
|
return f(2, g(2));
|
||
|
}
|
||
|
|
||
|
// Built with Clang 3.5.0:
|
||
|
// $ mkdir -p /tmp/dbginfo
|
||
|
// $ cp llvm-symbolizer-dwo-test.cc /tmp/dbginfo
|
||
|
// $ cd /tmp/dbginfo
|
||
|
// $ clang -gsplit-dwarf llvm-symbolizer-dwo-test.cc
|