[llvm] 6caf3fb - Fix Assembler/disubprogram.ll after e17f52d623cc146b7d9bf5a2e02965043508b4c4

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 10:26:45 PDT 2020


Author: Fangrui Song
Date: 2020-09-25T10:26:35-07:00
New Revision: 6caf3fb8178699ac14fb94fef99aaf1cf297264f

URL: https://github.com/llvm/llvm-project/commit/6caf3fb8178699ac14fb94fef99aaf1cf297264f
DIFF: https://github.com/llvm/llvm-project/commit/6caf3fb8178699ac14fb94fef99aaf1cf297264f.diff

LOG: Fix Assembler/disubprogram.ll after e17f52d623cc146b7d9bf5a2e02965043508b4c4

Added: 
    

Modified: 
    llvm/test/Assembler/disubprogram.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Assembler/disubprogram.ll b/llvm/test/Assembler/disubprogram.ll
index 10bd5520d84d..6feb27ce4801 100644
--- a/llvm/test/Assembler/disubprogram.ll
+++ b/llvm/test/Assembler/disubprogram.ll
@@ -25,8 +25,8 @@ define void @_Z3foov() !dbg !9 {
                              isOptimized: true, flags: "-O2",
                              splitDebugFilename: "abc.debug", emissionKind: 2)
 
-; CHECK: !9 = !DISubprogram(scope: null, spFlags: 0)
-!9 = !DISubprogram(isDefinition: false)
+; CHECK: !9 = distinct !DISubprogram(scope: null, spFlags: 0)
+!9 = distinct !DISubprogram(isDefinition: false)
 
 ; CHECK: !10 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1, file: !2, line: 7, type: !3, scopeLine: 8, containingType: !4, virtualIndex: 10, thisAdjustment: 3, flags: DIFlagPrototyped | DIFlagNoReturn, spFlags: DISPFlagPureVirtual | DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !8, templateParams: !5, declaration: !9, retainedNodes: !6)
 !10 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1,


        


More information about the llvm-commits mailing list