diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-03-01 15:56:36 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-03-01 15:58:01 +0100 |
commit | 9fc813e1a37d2e2d5e85a97d5ac4fc1c15d839fb (patch) | |
tree | 62e5002b97acab6f776476c2325a37097693b0ea /debug/backtrace.c | |
parent | 764e9a0334350f52ab6953bef1db97f9b2e89ca5 (diff) | |
download | glibc-9fc813e1a37d2e2d5e85a97d5ac4fc1c15d839fb.tar glibc-9fc813e1a37d2e2d5e85a97d5ac4fc1c15d839fb.tar.gz glibc-9fc813e1a37d2e2d5e85a97d5ac4fc1c15d839fb.tar.bz2 glibc-9fc813e1a37d2e2d5e85a97d5ac4fc1c15d839fb.zip |
Implement <unwind-link.h> for dynamically loading the libgcc_s unwinder
This will be used to consolidate the libgcc_s access for backtrace
and pthread_cancel.
Unlike the existing backtrace implementations, it provides some
hardening based on pointer mangling.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'debug/backtrace.c')
-rw-r--r-- | debug/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/backtrace.c b/debug/backtrace.c index 9449c51f06..5ded57bfc4 100644 --- a/debug/backtrace.c +++ b/debug/backtrace.c @@ -23,7 +23,7 @@ #include <gnu/lib-names.h> #include <stdlib.h> #include <unwind.h> -#include <unwind-arch.h> +#include <unwind-link.h> struct trace_arg { |