[Lldb-commits] [lldb] c8a9c78 - [lldb] Fix debug_loc.s which was broken after https://reviews.llvm.org/D103502

Stella Stamenova via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 29 13:55:11 PDT 2021


Author: Stella Stamenova
Date: 2021-06-29T13:54:48-07:00
New Revision: c8a9c78e170e3b972041b301a50d0456afe83d10

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

LOG: [lldb] Fix debug_loc.s which was broken after https://reviews.llvm.org/D103502

An empty location is now printed as <empty>

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s b/lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s
index 3d78469f6306d..5b8d1bc328559 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s
@@ -14,11 +14,11 @@
 
 # CHECK-LABEL: image lookup -v -a 0
 # CHECK: Variable: {{.*}}, name = "x0", type = "int", location = DW_OP_reg5 RDI,
-# CHECK: Variable: {{.*}}, name = "x1", type = "int", location = ,
+# CHECK: Variable: {{.*}}, name = "x1", type = "int", location = <empty>,
 
 # CHECK-LABEL: image lookup -v -a 2
 # CHECK: Variable: {{.*}}, name = "x0", type = "int", location = DW_OP_reg0 RAX,
-# CHECK: Variable: {{.*}}, name = "x1", type = "int", location = ,
+# CHECK: Variable: {{.*}}, name = "x1", type = "int", location = <empty>,
 # CHECK: Variable: {{.*}}, name = "x3", type = "int", location = DW_OP_reg1 RDX,
 
 # CHECK-LABEL: image dump symfile


        


More information about the lldb-commits mailing list