diff options
Diffstat (limited to 'llvm/test/DebugInfo/Inputs')
| -rw-r--r-- | llvm/test/DebugInfo/Inputs/dwarfdump-type-units.cc | 15 | ||||
| -rw-r--r-- | llvm/test/DebugInfo/Inputs/dwarfdump-type-units.elf-x86-64 | bin | 0 -> 3928 bytes |
2 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.cc b/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.cc new file mode 100644 index 00000000000..06bc9a2102c --- /dev/null +++ b/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.cc @@ -0,0 +1,15 @@ +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 diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.elf-x86-64 b/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.elf-x86-64 Binary files differnew file mode 100644 index 00000000000..064b4f06764 --- /dev/null +++ b/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.elf-x86-64 |

