[llvm] r331848 - [DebugInfo] Fix test failed due to new DISubprogram attributes.

Shiva Chen via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 23:22:39 PDT 2018


Author: shiva
Date: Tue May  8 23:22:39 2018
New Revision: 331848

URL: http://llvm.org/viewvc/llvm-project?rev=331848&view=rev
Log:
[DebugInfo] Fix test failed due to new DISubprogram attributes.

Please refer to '[DebugInfo] Add DILabel metadata and intrinsic
llvm.dbg.label'. I have renamed the 'variables' attributes to
'retainedNodes' to include local variables and local labels for the
function.

Patch by Hsiangkai Wang.

Modified:
    llvm/trunk/test/DebugInfo/AArch64/dbg-value-i16.ll

Modified: llvm/trunk/test/DebugInfo/AArch64/dbg-value-i16.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/AArch64/dbg-value-i16.ll?rev=331848&r1=331847&r2=331848&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/AArch64/dbg-value-i16.ll (original)
+++ llvm/trunk/test/DebugInfo/AArch64/dbg-value-i16.ll Tue May  8 23:22:39 2018
@@ -33,7 +33,7 @@ attributes #2 = { nounwind }
 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.9.0 ", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
 !1 = !DIFile(filename: "test.c", directory: "/Volumes/Data/llvm")
 !2 = !{}
-!4 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 3, type: !5, isLocal: false, isDefinition: true, scopeLine: 3, isOptimized: true, unit: !0, variables: !7)
+!4 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 3, type: !5, isLocal: false, isDefinition: true, scopeLine: 3, isOptimized: true, unit: !0, retainedNodes: !7)
 !5 = !DISubroutineType(types: !6)
 !6 = !{null}
 !7 = !{!8}




More information about the llvm-commits mailing list