Skip to content

Commit

Permalink
Merge pull request #4050 from rainers/issue_13583
Browse files Browse the repository at this point in the history
Fix Issue 13583: Inconsistent naming of template arguments in debug symbols
  • Loading branch information
WalterBright committed Oct 10, 2014
2 parents 0e47db1 + d6ce4ad commit 43175e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tocsym.c
Expand Up @@ -191,7 +191,7 @@ Symbol *toSymbol(Dsymbol *s)
* It applies to PDB format, but should apply to CV as PDB derives from CV.
* http://msdn.microsoft.com/en-us/library/ff553493(VS.85).aspx
*/
s->prettyIdent = vd->toPrettyChars();
s->prettyIdent = vd->toPrettyChars(true);
}
else
{
Expand Down Expand Up @@ -290,7 +290,7 @@ Symbol *toSymbol(Dsymbol *s)
Symbol *s = symbol_calloc(id);
slist_add(s);

s->prettyIdent = fd->toPrettyChars();
s->prettyIdent = fd->toPrettyChars(true);
s->Sclass = SCglobal;
symbol_func(s);
func_t *f = s->Sfunc;
Expand Down
4 changes: 2 additions & 2 deletions src/toctype.c
Expand Up @@ -214,7 +214,7 @@ class ToCtypeVisitor : public Visitor
}
else if (t->sym->memtype->toBasetype()->ty == Tint32)
{
t->ctype = type_enum(t->sym->toPrettyChars(), Type_toCtype(t->sym->memtype));
t->ctype = type_enum(t->sym->toPrettyChars(true), Type_toCtype(t->sym->memtype));
tm->ctype = t->ctype;
}
else
Expand All @@ -228,7 +228,7 @@ class ToCtypeVisitor : public Visitor
void visit(TypeClass *t)
{
//printf("TypeClass::toCtype() %s\n", toChars());
type *tc = type_struct_class(t->sym->toPrettyChars(), t->sym->alignsize, t->sym->structsize,
type *tc = type_struct_class(t->sym->toPrettyChars(true), t->sym->alignsize, t->sym->structsize,
NULL,
NULL,
false,
Expand Down

0 comments on commit 43175e1

Please sign in to comment.