Alexey Samsonov | 897f2cf | 2013-02-08 14:34:33 +0000 | [diff] [blame] | 1 | extern "C" int a(); |
2 | |||||
3 | int main() { | ||||
4 | return a(); | ||||
5 | } | ||||
6 | |||||
7 | // Built with gcc 4.6.3 | ||||
8 | // $ mkdir -p /tmp/dbginfo | ||||
9 | // $ cp dwarfdump-test2-helper.cc dwarfdump-test2-main.cc /tmp/dbginfo/ | ||||
10 | // $ cd /tmp/dbginfo | ||||
11 | // $ g++ -g dwarfdump-test2-helper.cc dwarfdump-test2-main.cc -o <output> |