Bug 12119 – core.demangle shouldn't reallocate output buffer, unnecessary GC dependency

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-09T07:17:45Z
Last change time
2024-12-07T13:33:19Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#17127 →

Comments

Comment #0 by code — 2014-02-09T07:17:45Z
Currently it increases the length of the optional destination buffer if the length of the demangled name doesn't fit. This makes it impossible to use core.demangle without a GC. http://dlang.org/phobos/core_demangle.html#demangle
Comment #1 by robert.schadek — 2024-12-07T13:33:19Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17127 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB