llvm-project/llvm/test/DebugInfo/symbolize-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
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