llvm/test/DebugInfo/dwarfdump-zlib.test
Alexey Samsonov 005159e924 Use zlib to uncompress debug sections in DWARF parser.
This makes llvm-dwarfdump and llvm-symbolizer understand
debug info sections compressed by ld.gold linker.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180088 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-23 10:17:34 +00:00

13 lines
396 B
Plaintext

REQUIRES: zlib
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test-zlib.elf-x86-64 \
RUN: | FileCheck %s -check-prefix FULLDUMP
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test-zlib.elf-x86-64 \
RUN: --address=0x400559 --functions | FileCheck %s -check-prefix MAIN
FULLDUMP: .debug_abbrev contents
FULLDUMP: .debug_info contents
MAIN: main
MAIN-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test-zlib.cc:16