[llvm] 7f57f13 - DebugInfo: use a symbolic DIE reference in convert-loclist.ll

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 18:23:51 PST 2020


Author: David Blaikie
Date: 2020-02-04T18:23:22-08:00
New Revision: 7f57f13cd683f2114840be1dea2da05d4d7b2dfc

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

LOG: DebugInfo: use a symbolic DIE reference in convert-loclist.ll

Added: 
    

Modified: 
    llvm/test/DebugInfo/X86/convert-loclist.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/convert-loclist.ll b/llvm/test/DebugInfo/X86/convert-loclist.ll
index 41ed060e1d71..ae38fab2930c 100644
--- a/llvm/test/DebugInfo/X86/convert-loclist.ll
+++ b/llvm/test/DebugInfo/X86/convert-loclist.ll
@@ -1,6 +1,10 @@
-; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s | llvm-dwarfdump -debug-loclists - | FileCheck %s
+; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s \
+; RUN:   | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
 
-; CHECK: DW_LLE_offset_pair ({{.*}}): DW_OP_consts +7, DW_OP_convert 0x27, DW_OP_stack_value
+; CHECK: 0x{{0*}}[[TYPE:.*]]: DW_TAG_base_type
+; CHECK-NEXT:                   DW_AT_name ("DW_ATE_unsigned_32")
+
+; CHECK: DW_LLE_offset_pair ({{.*}}): DW_OP_consts +7, DW_OP_convert 0x[[TYPE]], DW_OP_stack_value
 
 ; Function Attrs: uwtable
 define dso_local void @_Z2f2v() local_unnamed_addr #0 !dbg !11 {


        


More information about the llvm-commits mailing list