Bug 10077 – add pragma(mangle, "...") to override symbol mangle.

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-13T14:05:00Z
Last change time
2013-05-13T14:07:03Z
Assigned to
nobody
Creator
wazar.leollone

Comments

Comment #0 by wazar.leollone — 2013-05-13T14:05:49Z
Usage: pragma(mangle, "__TEST__") extern int test; //test.mangleof == "__TEST__" pragma(mangle, "__FOO__") int foo() { return 0; } //foo.mangleof == "__FOO__"
Comment #1 by wazar.leollone — 2013-05-13T14:07:03Z