[PATCH] D85414: [test][DebugInfo] Adapt two tests for Sun assembler syntax on Sparc

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 01:17:08 PDT 2020


ro updated this revision to Diff 283835.
ro added a comment.

Adapt checks following MaskRay's suggestion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85414/new/

https://reviews.llvm.org/D85414

Files:
  llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
  llvm/test/DebugInfo/Generic/array.ll


Index: llvm/test/DebugInfo/Generic/array.ll
===================================================================
--- llvm/test/DebugInfo/Generic/array.ll
+++ llvm/test/DebugInfo/Generic/array.ll
@@ -25,7 +25,7 @@
 !7 = distinct !DILexicalBlock(line: 3, column: 12, file: !14, scope: !0)
 !8 = !DICompositeType(tag: DW_TAG_array_type, align: 32, file: !14, scope: !2, baseType: !5, elements: !9)
 !9 = !{!10}
-;CHECK: debug_info,
+;CHECK: .section {{.*}}debug_info
 ;CHECK: DW_TAG_subrange_type
 ;CHECK-NEXT: DW_AT_type
 ;CHECK-NOT: DW_AT_lower_bound
Index: llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
===================================================================
--- llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
+++ llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
@@ -1,7 +1,7 @@
 ; RUN: %llc_dwarf -O2 %s -o - | FileCheck %s
 ; Check struct X for dead variable xyz from inlined function foo.
 
-; CHECK: debug_info,
+; CHECK: .section {{.*}}debug_info
 ; CHECK:	DW_TAG_structure_type
 ; CHECK-NEXT:	DW_AT_name
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85414.283835.patch
Type: text/x-patch
Size: 1061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/42a73dbf/attachment.bin>


More information about the llvm-commits mailing list