Skip to content

Commit 7409767

Browse files
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 msysgit#85
1 parent bc78542 commit 7409767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macho.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ backtrace_initialize (struct backtrace_state *state, const char *filename,
12681268
mff = macho_nodebug;
12691269
if (!macho_add (state, name, d, 0, NULL, base_address, 0,
12701270
error_callback, data, &mff, &mfs))
1271-
return 0;
1271+
continue;
12721272

12731273
if (mff != macho_nodebug)
12741274
macho_fileline_fn = mff;

0 commit comments

Comments
 (0)