[PATCH] D125531: [DebugInfo][Test] Simplify 'llvm/test/CodeGen/ARM/*-MergedGlobalDbg.ll'. NFC
Kristina Bessonova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 03:31:02 PDT 2022
krisb created this revision.
krisb added a reviewer: dblaikie.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
krisb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125531
Files:
llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
Index: llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
===================================================================
--- llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
+++ llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
@@ -1,14 +1,11 @@
-; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info -v - | FileCheck %s
+; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info --name=x1 --name=x2 -v - | FileCheck %s
; CHECK: DW_TAG_variable
-; CHECK-NOT: DW_TAG
; CHECK: DW_AT_name {{.*}} "x1"
-; CHECK-NOT: {{DW_TAG|NULL}}
; CHECK: DW_AT_location [DW_FORM_exprloc] (DW_OP_addr [[ADDR:0x[0-9a-fA-F]+]])
+
; CHECK: DW_TAG_variable
-; CHECK-NOT: DW_TAG
; CHECK: DW_AT_name {{.*}} "x2"
-; CHECK-NOT: {{DW_TAG|NULL}}
; CHECK: DW_AT_location [DW_FORM_exprloc] (DW_OP_addr [[ADDR]], DW_OP_plus_uconst 0x4)
source_filename = "test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll"
Index: llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
===================================================================
--- llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
+++ llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
@@ -1,4 +1,4 @@
-; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info -v - | FileCheck %s
+; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info --name=x1 --name=x2 -v - | FileCheck %s
source_filename = "test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll"
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32"
@@ -11,14 +11,11 @@
@x5 = global i8 1, align 1, !dbg !10
; CHECK: DW_TAG_variable
-; CHECK-NOT: DW_TAG
; CHECK: DW_AT_name {{.*}} "x1"
-; CHECK-NOT: {{DW_TAG|NULL}}
; CHECK: DW_AT_location [DW_FORM_exprloc] (DW_OP_addr [[ADDR:0x[0-9a-fA-F]+]])
+
; CHECK: DW_TAG_variable
-; CHECK-NOT: DW_TAG
; CHECK: DW_AT_name {{.*}} "x2"
-; CHECK-NOT: {{DW_TAG|NULL}}
; CHECK: DW_AT_location [DW_FORM_exprloc] (DW_OP_addr [[ADDR]], DW_OP_plus_uconst 0x1)
; Function Attrs: nounwind optsize
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125531.429185.patch
Type: text/x-patch
Size: 2284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220513/d18f1732/attachment-0001.bin>
More information about the llvm-commits
mailing list