From cdc600f767afa61a62b6f11f9f96c1752d5858a9 Mon Sep 17 00:00:00 2001 From: Tristan Konolige Date: Wed, 16 Dec 2020 15:25:19 -0800 Subject: [PATCH] Avoid failing early when we cannot find symbols on macho --- macho.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/macho.c b/macho.c index 1f8bc50..343d1ec 100644 --- a/macho.c +++ b/macho.c @@ -1266,9 +1266,8 @@ backtrace_initialize (struct backtrace_state *state, const char *filename, base_address = _dyld_get_image_vmaddr_slide (i); mff = macho_nodebug; - if (!macho_add (state, name, d, 0, NULL, base_address, 0, - error_callback, data, &mff, &mfs)) - return 0; + macho_add (state, name, d, 0, NULL, base_address, 0, + error_callback, data, &mff, &mfs); if (mff != macho_nodebug) macho_fileline_fn = mff;