mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 21:46:50 +00:00
22939fa0a4
PR: http://llvm.org/pr18431 Review: http://llvm-reviews.chandlerc.com/D2552 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199404 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
279 B
C
19 lines
279 B
C
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.3:
|
|
// $ mkdir -p /tmp/dbginfo
|
|
// $ cp llvm-symbolizer-test.c /tmp/dbginfo
|
|
// $ cd /tmp/dbginfo
|
|
// $ clang -g llvm-symbolizer-test.c -o <output>
|