]> gcc.gnu.org Git - gcc.git/commit
libbacktrace: load Windows modules
authorIan Lance Taylor <iant@golang.org>
Sun, 28 Apr 2024 18:14:17 +0000 (11:14 -0700)
committerIan Lance Taylor <iant@golang.org>
Sun, 28 Apr 2024 18:14:17 +0000 (11:14 -0700)
commit942a9cf2a958113d2ab46f5b015c36e569abedcf
treef759dc6a62c1e8d0e0e6a48bf423aa299ef42d00
parent507f3ce34c55e78b23eeaf57bc4d927a1f25f8fb
libbacktrace: load Windows modules

Patch from Björn Schäpers <bjoern@hazardy.de>.

* configure.ac: Checked for tlhelp32.h
* pecoff.c: Include <tlhelp32.h> if available.
(backtrace_initialize): Use tlhelp32 api for a snapshot to
detect loaded modules.
(coff_add): New argument for the module handle of the file,
to get the base address.
* configure, config.h.in: Regenerate.
libbacktrace/config.h.in
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/pecoff.c
This page took 0.059001 seconds and 5 git commands to generate.