[Lldb-commits] [lldb] fa89f64 - [nfc] [lldb] [testsuite] Fix DW_FORM_ref* in DW_AT_declaration-with-children.s .

Jan Kratochvil via lldb-commits lldb-commits at lists.llvm.org
Sun Oct 18 07:57:38 PDT 2020


Author: Jan Kratochvil
Date: 2020-10-18T16:57:27+02:00
New Revision: fa89f641cf9fc5af4e88642cc894f83845b4cabe

URL: https://github.com/llvm/llvm-project/commit/fa89f641cf9fc5af4e88642cc894f83845b4cabe
DIFF: https://github.com/llvm/llvm-project/commit/fa89f641cf9fc5af4e88642cc894f83845b4cabe.diff

LOG: [nfc] [lldb] [testsuite] Fix DW_FORM_ref* in DW_AT_declaration-with-children.s .

There were invalid DIE references which nobody used. If LLDB starts to
report invalid DIE references it would lock up (mutex lock).

These invalid DIE references are there since initial check-in by:
  https://reviews.llvm.org/D83302

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s b/lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s
index 9365dd966ed8..3fdee57b6687 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s
@@ -147,10 +147,6 @@ c1:
         .byte   6                               # DW_FORM_data4
         .byte   64                              # DW_AT_frame_base
         .byte   24                              # DW_FORM_exprloc
-        .byte   100                             # DW_AT_object_pointer
-        .byte   19                              # DW_FORM_ref4
-        .byte   71                              # DW_AT_specification
-        .byte   19                              # DW_FORM_ref4
         .byte   0                               # EOM(1)
         .byte   0                               # EOM(2)
         .byte   11                              # Abbreviation Code
@@ -222,8 +218,6 @@ c1:
         .long   .LZN1AC2Ev_end-_ZN1AC2Ev        # DW_AT_high_pc
         .byte   1                               # DW_AT_frame_base
         .byte   86
-        .long   147                             # DW_AT_object_pointer
-        .long   68                              # DW_AT_specification
         .byte   11                              # Abbrev [11] DW_TAG_formal_parameter
         .byte   2                               # DW_AT_location
         .byte   145


        


More information about the lldb-commits mailing list