diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-07-07 16:54:05 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-07-07 16:54:05 -0700 |
commit | d8ddf1fa098fa50929ea0a1569a8e38d80fadbaf (patch) | |
tree | bb2364c83df2f5fe3ce8f4bd8b59f2489886dfa7 /libbacktrace | |
parent | 9ed57796235abcd24e06b1ce10fe72c3d0d07cc5 (diff) | |
download | gcc-d8ddf1fa098fa50929ea0a1569a8e38d80fadbaf.tar.gz |
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.
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/macho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/macho.c b/libbacktrace/macho.c index 3f40811719e..16f406507d2 100644 --- a/libbacktrace/macho.c +++ b/libbacktrace/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; |