Mercurial > hg > CbC > CbC_llvm
view test/DebugInfo/Inputs/dwarfdump-test2-main.cc @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
extern "C" int a(); int main() { return a(); } // Built with gcc 4.6.3 // $ mkdir -p /tmp/dbginfo // $ cp dwarfdump-test2-helper.cc dwarfdump-test2-main.cc /tmp/dbginfo/ // $ cd /tmp/dbginfo // $ g++ -g dwarfdump-test2-helper.cc dwarfdump-test2-main.cc -o <output>