mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-14 20:57:01 +00:00
438f5391b2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191234 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
325 B
C++
16 lines
325 B
C++
struct foo {};
|
|
struct bar {};
|
|
void sink(void*);
|
|
int main() {
|
|
foo f;
|
|
sink(&f);
|
|
bar b;
|
|
sink(&b);
|
|
}
|
|
|
|
// Built with GCC 4.8.1
|
|
// $ mkdir -p /tmp/dbginfo
|
|
// $ cp dwarfdump-type-units.cc /tmp/dbginfo
|
|
// $ cd /tmp/dbginfo
|
|
// $ g++-4.8.1 -g -fdebug-types-section -c dwarfdump-type-units.cc -o dwarfdump-type-units.elf-x86-64
|