================
@@ -6014,6 +6023,10 @@ std::string CGDebugInfo::GetName(const Decl *D, bool
Qualified) const {
} else {
bool Mangled = TemplateNamesKind ==
llvm::codegenoptions::DebugTemplateNamesKind::Mangled;
+
+ if (NameIsSimplified)
+ *NameIsSimplified = !Mangled;
----------------
dwblaikie wrote:
We should treat "mangled" and simplified as simplified. ("mangled" in this case
refers to a scheme where the original template parameters are included in the
textual name, but separated by a `|` character - so a consumer like
`llvm-dwarfdump` can treat the name prefix as though it has been simplified,
then rebuild the name and compare it to the name + template parameters
(stripping the `|` effectively))
So when using "mangled" names, we would want to classify the name as simplified
as far as this flag is concerned - so the template parameter DIEs are produced
to allow llvm-dwarfdump to do the roundtrip testing, etc.
https://github.com/llvm/llvm-project/pull/174904
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits