[llvm] 552a8fe - DebugInfo: Check DW_OP_convert in loclists with Split DWARF

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 18:40:49 PST 2020


Author: David Blaikie
Date: 2020-02-03T18:40:11-08:00
New Revision: 552a8fe12bd1822f48dda2e9e8728a179f82d356

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

LOG: DebugInfo: Check DW_OP_convert in loclists with Split DWARF

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 5ef81b3423c0..7764fb8ff38f 100644
--- a/llvm/test/DebugInfo/X86/convert-loclist.ll
+++ b/llvm/test/DebugInfo/X86/convert-loclist.ll
@@ -1,6 +1,10 @@
-; RUN: llc -dwarf-version=5 -filetype=obj -O0 < %s | llvm-dwarfdump -debug-loclists - | FileCheck %s
+; RUN: llc -dwarf-version=5 -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
+; RUN: llc -dwarf-version=5 -split-dwarf-file=foo.dwo -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
 
-; CHECK: DW_LLE_offset_pair (0x0000000000000006, 0x000000000000000c): 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 (0x0000000000000006, 0x000000000000000c): DW_OP_consts +7, DW_OP_convert 0x[[TYPE]], DW_OP_stack_value
 
 
 ; Function Attrs: uwtable


        


More information about the llvm-commits mailing list