[PATCH] D70524: Support DebugInfo generation for auto return type for C++ functions.

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 08:47:32 PST 2019


probinson added inline comments.


================
Comment at: llvm/test/DebugInfo/X86/debug-info-auto-return.ll:30
+; CHECK:  DW_TAG_subprogram [7] *
+; CHECK-NEXT: DW_AT_linkage_name [DW_FORM_strx1]    (indexed (00000007) string = "_ZN7myClass7findMaxEv")
+; CHECK: DW_AT_type [DW_FORM_ref4] {{.*}} "auto"
----------------
No need to over-specify this (form/index etc) as those details can change over time and aren't relevant to the test.  Sufficient to check
`DW_AT_linkage_name {{.*}} "_ZN7myClass7findMaxEv"`



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

https://reviews.llvm.org/D70524





More information about the llvm-commits mailing list