Module: wine
Branch: master
Commit: 6705a710450b015de9f378a4a4480b7623c837ad
URL: https://gitlab.winehq.org/wine/wine/-/commit/6705a710450b015de9f378a4a4480b…
Author: Martin Storsjö <martin(a)martin.st>
Date: Thu Oct 20 23:52:13 2022 +0300
winegcc: Prefer -Wl,--pdb=<file> over -Wl,-pdb,<file>.
The previously used syntax, -Wl,-pdb,<file>, was the originally
supported one in lld (since 2018). Later (in 2019) the second
syntax was added, allowing both -Wl,-pdb=<file> and -Wl,-pdb,<file>.
(This other parameter syntax allows easier distinguishing an empty
argument, for letting the linker implicitly pick the file name.)
Move over to using the more modern syntax - reducing the usage of
the old form of the option. This potentially allows deprecating
the original syntax and maybe allows using --pdb as a boolean
flag for implying an automatically named PDB file (which currently
requires using the awkward syntax "--pdb=").
Also prefer the long two dashes form, i.e. --pdb instead of -pdb;
the single dash form is only allowed by getopt when there
are no conflicts with single-letter options, while the form with
two dashes is unambiguous.
---
tools/winegcc/winegcc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index e40aa9270ec..ddd513e55d0 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -464,7 +464,7 @@ static struct strarray get_link_args( struct options *opts, const char *output_n
strarray_add( &flags, "-static-libgcc" );
if (opts->debug_file && strendswith(opts->debug_file, ".pdb"))
- strarray_add(&link_args, strmake("-Wl,-pdb,%s", opts->debug_file));
+ strarray_add(&link_args, strmake("-Wl,--pdb=%s", opts->debug_file));
if (opts->out_implib)
strarray_add(&link_args, strmake("-Wl,--out-implib,%s", opts->out_implib));
Module: wine
Branch: master
Commit: c4f1f5b18509b99f61d2fe43f56fac356030af47
URL: https://gitlab.winehq.org/wine/wine/-/commit/c4f1f5b18509b99f61d2fe43f56fac…
Author: Eric Pouech <eric.pouech(a)gmail.com>
Date: Tue Nov 1 10:40:02 2022 +0100
dbghelp: Get rid of symt_inlinesite by merging it inside symt_function.
Basically:
- extending symt_function to enable storage of multiple address ranges
- symt_function and sym_inlinesite now share the same fields, so
get rid to the later.
Note that only the first range of a top level function is actually
stored and used (even if the structure allows for more).
Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com>
---
dlls/dbghelp/dbghelp.c | 4 +-
dlls/dbghelp/dbghelp_private.h | 31 ++++++--------
dlls/dbghelp/dwarf.c | 14 +++----
dlls/dbghelp/module.c | 2 +-
dlls/dbghelp/msc.c | 50 +++++++++++------------
dlls/dbghelp/symbol.c | 92 ++++++++++++++++++++++--------------------
dlls/dbghelp/type.c | 24 ++++-------
7 files changed, 101 insertions(+), 116 deletions(-)