Bug 10112 – Mangle, which defined by pragma(mangle) should not be mangled by backend.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-17T17:41:00Z
Last change time
2014-06-06T11:46:11Z
Assigned to
nobody
Creator
wazar.leollone

Comments

Comment #0 by wazar.leollone — 2013-05-17T17:41:45Z
pragma(mangle, "?verror@@YAXULoc@@PBDPAD111@Z") extern(C++) void verror(Loc loc, const(char)* format, va_list ap, const(char)* p1 = null, const(char)* p2 = null, const(char)* header = "Error: ") { } Error: Communal names: 120 ??verror@@YAXULoc@@PBDPAD111@Z@YAXULoc@@PBDPAX111@Z, Type 0
Comment #1 by yebblies — 2014-06-06T11:46:11Z
This was fixed as part of the c++ mangling refactoring.