diff options
author | Xing GUO <higuoxing@gmail.com> | 2020-06-18 13:02:08 +0800 |
---|---|---|
committer | Xing GUO <higuoxing@gmail.com> | 2020-06-18 13:02:54 +0800 |
commit | d261a1c0e0e5962ec1a42841692b47aca655e3a0 (patch) | |
tree | 53456cedca92fde8954a22ef18af2c8125cc3a23 /llvm/test/ObjectYAML/MachO | |
parent | 3d316eb06d91cd859f5da51715bab7ee3cae8bf0 (diff) | |
download | llvm-d261a1c0e0e5962ec1a42841692b47aca655e3a0.zip llvm-d261a1c0e0e5962ec1a42841692b47aca655e3a0.tar.gz llvm-d261a1c0e0e5962ec1a42841692b47aca655e3a0.tar.bz2 |
[DWARFYAML][debug_abbrev] Make the abbreviation code optional.
This patch helps make the `Code` optional in abbreviations table.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D81826
Diffstat (limited to 'llvm/test/ObjectYAML/MachO')
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml | 14 | ||||
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml | 14 | ||||
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml | 10 | ||||
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml | 2 |
4 files changed, 20 insertions, 20 deletions
diff --git a/llvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml b/llvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml index c6a45cd..67bcf1d 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml @@ -386,7 +386,7 @@ DWARF: #CHECK: - N #CHECK: - t #CHECK: debug_abbrev: -#CHECK: - Code: 0x00000001 +#CHECK: - Code: 0x0000000000000001 #CHECK: Tag: DW_TAG_compile_unit #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: @@ -404,7 +404,7 @@ DWARF: #CHECK: Form: DW_FORM_addr #CHECK: - Attribute: DW_AT_high_pc #CHECK: Form: DW_FORM_data4 -#CHECK: - Code: 0x00000002 +#CHECK: - Code: 0x0000000000000002 #CHECK: Tag: DW_TAG_base_type #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -414,7 +414,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_byte_size #CHECK: Form: DW_FORM_data1 -#CHECK: - Code: 0x00000003 +#CHECK: - Code: 0x0000000000000003 #CHECK: Tag: DW_TAG_typedef #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -426,7 +426,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_decl_line #CHECK: Form: DW_FORM_data1 -#CHECK: - Code: 0x00000004 +#CHECK: - Code: 0x0000000000000004 #CHECK: Tag: DW_TAG_subprogram #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: @@ -448,7 +448,7 @@ DWARF: #CHECK: Form: DW_FORM_ref4 #CHECK: - Attribute: DW_AT_external #CHECK: Form: DW_FORM_flag_present -#CHECK: - Code: 0x00000005 +#CHECK: - Code: 0x0000000000000005 #CHECK: Tag: DW_TAG_formal_parameter #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -462,7 +462,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_type #CHECK: Form: DW_FORM_ref4 -#CHECK: - Code: 0x00000006 +#CHECK: - Code: 0x0000000000000006 #CHECK: Tag: DW_TAG_variable #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -476,7 +476,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_type #CHECK: Form: DW_FORM_ref4 -#CHECK: - Code: 0x00000007 +#CHECK: - Code: 0x0000000000000007 #CHECK: Tag: DW_TAG_const_type #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: diff --git a/llvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml b/llvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml index 1e136e6..47ca338 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml @@ -375,7 +375,7 @@ DWARF: #CHECK: - N #CHECK: - t #CHECK: debug_abbrev: -#CHECK: - Code: 0x00000001 +#CHECK: - Code: 0x0000000000000001 #CHECK: Tag: DW_TAG_compile_unit #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: @@ -393,7 +393,7 @@ DWARF: #CHECK: Form: DW_FORM_addr #CHECK: - Attribute: DW_AT_high_pc #CHECK: Form: DW_FORM_data4 -#CHECK: - Code: 0x00000002 +#CHECK: - Code: 0x0000000000000002 #CHECK: Tag: DW_TAG_base_type #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -403,7 +403,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_byte_size #CHECK: Form: DW_FORM_data1 -#CHECK: - Code: 0x00000003 +#CHECK: - Code: 0x0000000000000003 #CHECK: Tag: DW_TAG_typedef #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -415,7 +415,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_decl_line #CHECK: Form: DW_FORM_data1 -#CHECK: - Code: 0x00000004 +#CHECK: - Code: 0x0000000000000004 #CHECK: Tag: DW_TAG_subprogram #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: @@ -437,7 +437,7 @@ DWARF: #CHECK: Form: DW_FORM_ref4 #CHECK: - Attribute: DW_AT_external #CHECK: Form: DW_FORM_flag_present -#CHECK: - Code: 0x00000005 +#CHECK: - Code: 0x0000000000000005 #CHECK: Tag: DW_TAG_formal_parameter #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -451,7 +451,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_type #CHECK: Form: DW_FORM_ref4 -#CHECK: - Code: 0x00000006 +#CHECK: - Code: 0x0000000000000006 #CHECK: Tag: DW_TAG_variable #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -465,7 +465,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_type #CHECK: Form: DW_FORM_ref4 -#CHECK: - Code: 0x00000007 +#CHECK: - Code: 0x0000000000000007 #CHECK: Tag: DW_TAG_const_type #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: diff --git a/llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml b/llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml index 8301aa6..bcdce34 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml @@ -349,7 +349,7 @@ DWARF: #CHECK: DWARF: #CHECK: debug_abbrev: -#CHECK: - Code: 0x00000001 +#CHECK: - Code: 0x0000000000000001 #CHECK: Tag: DW_TAG_compile_unit #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: @@ -367,7 +367,7 @@ DWARF: #CHECK: Form: DW_FORM_addr #CHECK: - Attribute: DW_AT_high_pc #CHECK: Form: DW_FORM_data4 -#CHECK: - Code: 0x00000002 +#CHECK: - Code: 0x0000000000000002 #CHECK: Tag: DW_TAG_subprogram #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: @@ -389,7 +389,7 @@ DWARF: #CHECK: Form: DW_FORM_ref4 #CHECK: - Attribute: DW_AT_external #CHECK: Form: DW_FORM_flag_present -#CHECK: - Code: 0x00000003 +#CHECK: - Code: 0x0000000000000003 #CHECK: Tag: DW_TAG_formal_parameter #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -403,7 +403,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_type #CHECK: Form: DW_FORM_ref4 -#CHECK: - Code: 0x00000004 +#CHECK: - Code: 0x0000000000000004 #CHECK: Tag: DW_TAG_base_type #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: @@ -413,7 +413,7 @@ DWARF: #CHECK: Form: DW_FORM_data1 #CHECK: - Attribute: DW_AT_byte_size #CHECK: Form: DW_FORM_data1 -#CHECK: - Code: 0x00000005 +#CHECK: - Code: 0x0000000000000005 #CHECK: Tag: DW_TAG_pointer_type #CHECK: Children: DW_CHILDREN_no #CHECK: Attributes: diff --git a/llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml b/llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml index 817830d..c4563fe 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml @@ -286,7 +286,7 @@ DWARF: #CHECK: DWARF: #CHECK: debug_abbrev: -#CHECK: - Code: 0x00000001 +#CHECK: - Code: 0x0000000000000001 #CHECK: Tag: DW_TAG_compile_unit #CHECK: Children: DW_CHILDREN_yes #CHECK: Attributes: |