1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 0 %t.o | FileCheck %s --check-prefixes=COMMON,ALL
3 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 1 %t.o | FileCheck %s --check-prefixes=COMMON,ONE
4 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 2 %t.o | FileCheck %s --check-prefixes=COMMON,TWO
5 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 3 %t.o | FileCheck %s --check-prefixes=COMMON,ALL
7 # COMMON: .o: file format
33 - Tag
: DW_TAG_compile_unit
34 Children
: DW_CHILDREN_yes
36 - Attribute
: DW_AT_producer
38 - Tag
: DW_TAG_subprogram
39 Children
: DW_CHILDREN_yes
41 - Attribute
: DW_AT_name
43 - Tag
: DW_TAG_namespace
44 Children
: DW_CHILDREN_yes
46 - Attribute
: DW_AT_name
48 - Tag
: DW_TAG_base_type
49 Children
: DW_CHILDREN_no
51 - Attribute
: DW_AT_name