• Brad King's avatar
    SystemInformation: Simplify demangle buffer management · 5d4c8b04
    Brad King authored
    If the buffer we pass to `__cxa_demangle` is not large enough, it will
    be reallocated internally.  Avoid dealing with possibly two allocations
    to free by just letting `__cxa_demangle` allocate a suitable buffer.
    5d4c8b04