summaryrefslogtreecommitdiff
path: root/test/ObjectYAML/MachO/DWARF-debug_line.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/ObjectYAML/MachO/DWARF-debug_line.yaml')
-rw-r--r--test/ObjectYAML/MachO/DWARF-debug_line.yaml46
1 files changed, 14 insertions, 32 deletions
diff --git a/test/ObjectYAML/MachO/DWARF-debug_line.yaml b/test/ObjectYAML/MachO/DWARF-debug_line.yaml
index c1e015839f975..6d87ea68cdcf0 100644
--- a/test/ObjectYAML/MachO/DWARF-debug_line.yaml
+++ b/test/ObjectYAML/MachO/DWARF-debug_line.yaml
@@ -394,7 +394,8 @@ DWARF:
- Attribute: DW_AT_type
Form: DW_FORM_ref4
debug_aranges:
- - Length: 44
+ - Length:
+ TotalLength: 44
Version: 2
CuOffset: 0
AddrSize: 8
@@ -403,7 +404,8 @@ DWARF:
- Address: 0x0000000100000F50
Length: 52
debug_pubnames:
- Length: 23
+ Length:
+ TotalLength: 23
Version: 2
UnitOffset: 0
UnitSize: 121
@@ -411,7 +413,8 @@ DWARF:
- DieOffset: 0x0000002A
Name: main
debug_pubtypes:
- Length: 31
+ Length:
+ TotalLength: 31
Version: 2
UnitOffset: 0
UnitSize: 121
@@ -421,7 +424,8 @@ DWARF:
- DieOffset: 0x00000071
Name: char
debug_info:
- - Length: 117
+ - Length:
+ TotalLength: 117
Version: 4
AbbrOffset: 0
AddrSize: 8
@@ -489,7 +493,8 @@ DWARF:
- AbbrCode: 0x00000000
Values:
debug_line:
- - TotalLength: 65
+ - Length:
+ TotalLength: 65
Version: 2
PrologueLength: 36
MinInstLength: 1
@@ -497,19 +502,7 @@ DWARF:
LineBase: 251
LineRange: 14
OpcodeBase: 13
- StandardOpcodeLengths:
- - 0
- - 1
- - 1
- - 1
- - 1
- - 0
- - 0
- - 0
- - 1
- - 0
- - 0
- - 1
+ StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
IncludeDirs:
Files:
- Name: hello_world.c
@@ -542,7 +535,8 @@ DWARF:
...
#CHECK: debug_line:
-#CHECK: - TotalLength: 65
+#CHECK: - Length:
+#CHECK: TotalLength: 65
#CHECK: Version: 2
#CHECK: PrologueLength: 36
#CHECK: MinInstLength: 1
@@ -550,19 +544,7 @@ DWARF:
#CHECK: LineBase: 251
#CHECK: LineRange: 14
#CHECK: OpcodeBase: 13
-#CHECK: StandardOpcodeLengths:
-#CHECK: - 0
-#CHECK: - 1
-#CHECK: - 1
-#CHECK: - 1
-#CHECK: - 1
-#CHECK: - 0
-#CHECK: - 0
-#CHECK: - 0
-#CHECK: - 1
-#CHECK: - 0
-#CHECK: - 0
-#CHECK: - 1
+#CHECK: StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
#CHECK: IncludeDirs:
#CHECK: Files:
#CHECK: - Name: hello_world.c