Home | History | Annotate | Download | only in X86
      1 RUN: llvm-dwp %p/../Inputs/compress/a.dwo -o %t
      2 RUN: llvm-dwarfdump -v %t | FileCheck %s
      3 
      4 REQUIRES: zlib
      5 
      6 Simple 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 
     11 Since the compression is pretty orthogonal, we're not trying to test that the
     12 compression library functioned correctly, just that dwp used it to decompress
     13 the section - so test a few simple features and be done with it.
     14 
     15 CHECK: .debug_info.dwo contents:
     16 CHECK: Compile Unit:
     17 CHECK:   DW_TAG_compile_unit
     18 CHECK:     DW_TAG_subprogram
     19 CHECK:       DW_TAG_formal_parameter
     20