Eric Pouech : dbghelp: Let symt_basic be trans-module and nameless.

Alexandre Julliard julliard at winehq.org
Fri May 13 15:45:13 CDT 2022


Module: wine
Branch: master
Commit: 14462bbeab6c916f2aa01a615b1eb4d8005277e5
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=14462bbeab6c916f2aa01a615b1eb4d8005277e5

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue May 10 17:11:08 2022 +0200

dbghelp: Let symt_basic be trans-module and nameless.

Rationale:
- native doesn't report names for SymTagBaseType objects
  => so remove typename for sym_basic
- since symt_basic becomes pretty simple, it's possible to share the object
  across all modules loaded in dbghelp (simplicity, memory usage reduction)
- removed dwarf basic types cache in dwarf.c as we now have a generic one

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/dbghelp_private.h |  4 +--
 dlls/dbghelp/dwarf.c           | 46 ++++++++++++++--------------------
 dlls/dbghelp/msc.c             | 56 +++++++++++++++++++++---------------------
 dlls/dbghelp/stabs.c           | 48 ++++++++++++++++++------------------
 dlls/dbghelp/type.c            | 37 ++++++++++++----------------
 5 files changed, 87 insertions(+), 104 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=14462bbeab6c916f2aa01a615b1eb4d8005277e5



More information about the wine-cvs mailing list