dwarfdump: Added macro support to llvm-dwarfdump tool.
[oota-llvm.git] / test / DebugInfo / Inputs / dwarfdump-type-units.cc
1 struct foo {};
2 struct bar {};
3 void sink(void*);
4 int main() {
5   foo f;
6   sink(&f);
7   bar b;
8   sink(&b);
9 }
10
11 // Built with GCC 4.8.1
12 // $ mkdir -p /tmp/dbginfo
13 // $ cp dwarfdump-type-units.cc /tmp/dbginfo
14 // $ cd /tmp/dbginfo
15 // $ g++-4.8.1 -g -fdebug-types-section -c dwarfdump-type-units.cc -o dwarfdump-type-units.elf-x86-64