Mercurial > hg > CbC > CbC_llvm
view test/DebugInfo/Inputs/llvm-symbolizer-test.c @ 129:9ec641e857f8
Fix compile error to update llvm 5.0
author | mir3636 |
---|---|
date | Tue, 12 Dec 2017 19:42:58 +0900 |
parents | 54457678186b |
children | c2174574ed3a |
line wrap: on
line source
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>