llvm-project/llvm/test/DebugInfo/dwarfdump-zstd.test
Fangrui Song 0b140d0910 [Object] Add zstd decompression support to Decompressor
llvm::object::Decompressor is used by many DWARF consumers like llvm-dwarfdump,
llvm-dwp, llvm-symbolizer. Add tests to them. The lldb test can be left to
D133530.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D134116
2022-09-19 11:41:16 -07:00

9 lines
282 B
Plaintext

; REQUIRES: zstd
;; llvm-dwarfdump supports zstd compressed debug sections.
; RUN: llvm-objcopy --compress-debug-sections=zstd %S/Inputs/dwarfdump-test.elf-x86-64 %t
; RUN: llvm-dwarfdump %t | FileCheck %s
; CHECK: .debug_info contents
; CHECK: DW_AT_name ("dwarfdump-test.cc")