[PATCH 6/4] libbacktrace: Add loaded dlls after initialize
Ian Lance Taylor
iant@google.com
Mon Jul 29 16:46:46 GMT 2024
On Fri, Mar 15, 2024 at 1:41 PM Björn Schäpers <gcc@hazardy.de> wrote:
>
> Am 10.01.2024 um 13:34 schrieb Eli Zaretskii:
> >> Date: Tue, 9 Jan 2024 21:02:44 +0100
> >> Cc: iant@google.com, gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org
> >> From: Björn Schäpers <gcc@hazardy.de>
> >>
> >> Am 07.01.2024 um 18:03 schrieb Eli Zaretskii:
> >>> In that case, you an call either GetModuleHandeExA or
> >>> GetModuleHandeExW, the difference is minor.
> >>
> >> Here an updated version without relying on TEXT or TCHAR, directly calling
> >> GetModuleHandleExW.
> >
> > Thanks, this LGTM (but I couldn't test it, I just looked at the
> > sour ce code).
>
> Here an updated version. It is rebased on the combined approach of getting the
> loaded DLLs and two minor changes to suppress warnings.
This bug report was filed about this patch:
https://github.com/ianlancetaylor/libbacktrace/issues/131
> src\pecoff.c(86): error C2059: syntax error: '('
> src\pecoff.c(89): error C2059: syntax error: '('
>
> It works fine if deleting CALLBACK and NTAPI.
Any ideas?
Thanks.
Ian
More information about the Gcc
mailing list