[llvm] 486d6d2 - [Debug-Info]update section name to match AIX behaviour; nfc

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 01:34:01 PDT 2021


Author: Chen Zheng
Date: 2021-05-24T04:33:41-04:00
New Revision: 486d6d2b8ef7bd7313d99b5cbfa487c52d75169b

URL: https://github.com/llvm/llvm-project/commit/486d6d2b8ef7bd7313d99b5cbfa487c52d75169b
DIFF: https://github.com/llvm/llvm-project/commit/486d6d2b8ef7bd7313d99b5cbfa487c52d75169b.diff

LOG: [Debug-Info]update section name to match AIX behaviour; nfc

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll b/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
index b86261d938ce2..0f8f0fc13b296 100644
--- a/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
+++ b/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: .section {{.*}}debug_info
+; CHECK: {{.section.*debug_info|.*dwinfo:}}
 ; CHECK:	DW_TAG_structure_type
 ; CHECK-NEXT:	DW_AT_name
 

diff  --git a/llvm/test/DebugInfo/Generic/array.ll b/llvm/test/DebugInfo/Generic/array.ll
index 06e55b20467f9..60e0f3d11f1e6 100644
--- a/llvm/test/DebugInfo/Generic/array.ll
+++ b/llvm/test/DebugInfo/Generic/array.ll
@@ -25,7 +25,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
 !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: .section {{.*}}debug_info
+;CHECK: {{.section.*debug_info|.*dwinfo:}}
 ;CHECK: DW_TAG_subrange_type
 ;CHECK-NEXT: DW_AT_type
 ;CHECK-NOT: DW_AT_lower_bound


        


More information about the llvm-commits mailing list