• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-dwp %p/../Inputs/compress/a.dwo -o %t
2RUN: llvm-dwarfdump %t | FileCheck %s
3
4REQUIRES: zlib
5
6Simple test built from this input which produces DWARF long enough to be compressed in the .[z]debug_info section:
7
8  void f(int a, int b, int c, int d) {
9  }
10
11Since the compression is pretty orthogonal, we're not trying to test that the
12compression library functioned correctly, just that dwp used it to decompress
13the section - so test a few simple features and be done with it.
14
15CHECK: .debug_info.dwo contents:
16CHECK: Compile Unit:
17CHECK:   DW_TAG_compile_unit
18CHECK:     DW_TAG_subprogram
19CHECK:       DW_TAG_formal_parameter
20