[Lldb-commits] [lldb] 22e2d11 - [lldb] Really fix dwarf5-debug_line-file-index.s

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 26 09:26:59 PDT 2021


Author: Pavel Labath
Date: 2021-03-26T17:26:44+01:00
New Revision: 22e2d117d3b9f04a66e03698f930c6f9ac538d69

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

LOG: [lldb] Really fix dwarf5-debug_line-file-index.s

It's not enough the change the comment -- one has to actually change the
constant before it. :/

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line-file-index.s

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line-file-index.s b/lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line-file-index.s
index 7bddd3bbbd209..54d07df104316 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line-file-index.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line-file-index.s
@@ -1,7 +1,5 @@
 # Test handling of DWARF5 file index 0.
 # REQUIRES: x86
-# XFAIL: target-arm && linux-gnu
-# XFAIL: system-windows
 
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "image lookup -f hello.c -l 1" \
@@ -19,7 +17,7 @@
 	.section	.debug_abbrev,"", at progbits
 	.byte	1                               # Abbreviation Code
 	.byte	17                              # DW_TAG_compile_unit
-	.byte	1                               # DW_CHILDREN_no
+	.byte	0                               # DW_CHILDREN_no
 	.byte	37                              # DW_AT_producer
 	.byte	37                              # DW_FORM_strx1
 	.byte	19                              # DW_AT_language


        


More information about the lldb-commits mailing list