From 7409767403d5de395e2d1b9d72d3022960e70007 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 7 Jul 2022 16:54:05 -0700 Subject: [PATCH] libbacktrace: don't exit Mach-O dyld library loop on one failure * macho.c (backtrace_initialize) [HAVE_MACH_O_DYLD_H]: Don't exit loop if we can't find debug info for one shared library. For #85 --- macho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macho.c b/macho.c index 66e101e..d00aea9 100644 --- a/macho.c +++ b/macho.c @@ -1268,7 +1268,7 @@ backtrace_initialize (struct backtrace_state *state, const char *filename, mff = macho_nodebug; if (!macho_add (state, name, d, 0, NULL, base_address, 0, error_callback, data, &mff, &mfs)) - return 0; + continue; if (mff != macho_nodebug) macho_fileline_fn = mff;