[llvm] 9329cfc - DebugInfo: convert-debugloc.ll generalize to run on ppc64le

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 19:14:29 PST 2020


Author: David Blaikie
Date: 2020-02-04T19:14:22-08:00
New Revision: 9329cfca8489965bb9e4017906ab6f2d45c7f29b

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

LOG: DebugInfo: convert-debugloc.ll generalize to run on ppc64le

This target produces a location list for the location, so split the
match between lines to allow for a location list match.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/convert-debugloc.ll b/llvm/test/DebugInfo/X86/convert-debugloc.ll
index 178c935bb979..995e1d9b631c 100644
--- a/llvm/test/DebugInfo/X86/convert-debugloc.ll
+++ b/llvm/test/DebugInfo/X86/convert-debugloc.ll
@@ -18,7 +18,8 @@
 ; DW5:   DW_TAG_subprogram
 ; DW5:     DW_TAG_formal_parameter
 ; DW5:     DW_TAG_variable
-; DW5:       DW_AT_location ({{.*}}, DW_OP_convert ([[SIG8]]) "DW_ATE_signed_8", DW_OP_convert ([[SIG32]]) "DW_ATE_signed_32", DW_OP_stack_value)
+; DW5:       DW_AT_location (
+; DW5:         {{.*}}, DW_OP_convert ([[SIG8]]) "DW_ATE_signed_8", DW_OP_convert ([[SIG32]]) "DW_ATE_signed_32", DW_OP_stack_value)
 ; DW5:       DW_AT_name ("y")
 ; DW5:     NULL
 ; DW5:   DW_TAG_base_type
@@ -32,7 +33,8 @@
 ; DW4:   DW_TAG_subprogram
 ; DW4:     DW_TAG_formal_parameter
 ; DW4:     DW_TAG_variable
-; DW4:       DW_AT_location ({{.*}}, DW_OP_dup, DW_OP_constu 0x7, DW_OP_shr, DW_OP_lit0, DW_OP_not, DW_OP_mul, DW_OP_constu 0x8, DW_OP_shl, DW_OP_or, DW_OP_stack_value)
+; DW4:       DW_AT_location (
+; DW4:         {{.*}}, DW_OP_dup, DW_OP_constu 0x7, DW_OP_shr, DW_OP_lit0, DW_OP_not, DW_OP_mul, DW_OP_constu 0x8, DW_OP_shl, DW_OP_or, DW_OP_stack_value)
 ; DW4:       DW_AT_name ("y")
 ; DW4:     NULL
 ; DW4:   DW_TAG_base_type


        


More information about the llvm-commits mailing list