rnk added inline comments.

================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:1050-1052
+  // Don't include a linkage name in line tables only.
+  if (CGM.getCodeGenOpts().hasReducedDebugInfo())
+    Identifier = getTypeIdentifier(Ty, CGM, TheCU);
----------------
I see Amy included the linkage name step as part of this patch, so disregard 
that comment.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:370-373
+  // MSVC, if not using line tables only.
+  StringRef DisplayName = SP->getName();
+  if (SP->getUnit()->getEmissionKind() != DICompileUnit::LineTablesOnly)
+    DisplayName = SP->getName().split('<').first;
----------------
Do we still need the LLVM part of this? We needed it before because we were 
operating on strings like `foo::<unnamed-tag>::operator()`. Can we leave it as 
is for now, or handle it as a separate patch?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94639

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to