[PATCH] D36993: [llvm-dwarfdump] Print type names in DW_AT_type DIEs

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 20:58:49 PDT 2017


dblaikie added a comment.

Where's the 'const' being printed from (couldn't spot it from a quick glance at the code) for the test cases like "const Struct"?



================
Comment at: test/DebugInfo/Generic/tu-composite.ll:35
 ; CHECK: DW_TAG_template_type_parameter
-; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]})
+; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]} "{{.*}}")
 ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "T")
----------------
probably easier/fine to just drop the ')' from all these cases, the } and other features are probably an adequate match rather than adding the "{{.*}}") at the end


Repository:
  rL LLVM

https://reviews.llvm.org/D36993





More information about the llvm-commits mailing list