https://bugs.winehq.org/show_bug.cgi?id=56223
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #7 from Eric Pouech eric.pouech@gmail.com --- (In reply to Nikolay Sivov from comment #6)
I'm sure it's useful to display debug information, what I mean is you don't always need to load everything in memory.
Yes, that's something that has been inherited (for various historical reasons) from stabs parsing. Currently, when a single bit of information is needed within a given module, all debug information for that module is first loaded into an internal format. That can consume of lots of RAM (and processing). I have on my todo list a major rewrite of dbghelp (at least for pdb and dwarf debug format) that would only load the needed bits of debug information. Note also, that even the proposed patch won't ensure that a decent backtrace is displayed as we end up with a partial loading of information.