0b140d0910
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
9 lines
300 B
Plaintext
9 lines
300 B
Plaintext
# REQUIRES: zstd
|
|
## llvm-symbolizer supports zstd compressed debug sections.
|
|
|
|
# RUN: llvm-objcopy --compress-debug-sections=zstd %S/Inputs/dwarfdump-test.elf-x86-64 %t
|
|
# RUN: llvm-symbolizer --obj=%t 0x40113f | FileCheck %s
|
|
|
|
# CHECK: main
|
|
# CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
|