[PATCH] D111593: [DebugInfo] retainedTypes should not have subprograms

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 01:20:09 PDT 2021


djtodoro added inline comments.


================
Comment at: llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-orr-moves.mir:75
 
   !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 10.0.0 (ssh://gerritmirror.rnd.ki.sw.ericsson.se:29418/flextools/llvm-project.git f76e863b549ddccd5e917e2f3ff50646915654d2)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !3, nameTableKind: None)
   !1 = !DIFile(filename: "orrxrs.c", directory: "/repo/edasten/llvm-project/llvm")
----------------
`retainedTypes: !3` - this should be removed completely, so we do not leave any ambiguity


================
Comment at: llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-orr-moves.mir:78
   !2 = !{}
-  !3 = !{!4, !8, !12}
+  !3 = !{}
   !4 = !DISubprogram(name: "call_int", scope: !1, file: !1, line: 1, type: !5, flags: DIFlagPrototyped, spFlags: DISPFlagOptimized, retainedNodes: !2)
----------------
and then remove this


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111593



More information about the llvm-commits mailing list