https://gcc.gnu.org/g:02f7525e5e9e8d749c9ba2b9a925da4b202553ce
commit r15-1978-g02f7525e5e9e8d749c9ba2b9a925da4b202553ce Author: Ian Lance Taylor <i...@golang.org> Date: Thu Jul 11 15:27:18 2024 -0700 libbacktrace: remove trailing whitespace * dwarf.c: Remove trailing whitespace. * macho.c: Likewise. Diff: --- libbacktrace/dwarf.c | 4 ++-- libbacktrace/macho.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libbacktrace/dwarf.c b/libbacktrace/dwarf.c index ed0672964c24..cc36a0a2990d 100644 --- a/libbacktrace/dwarf.c +++ b/libbacktrace/dwarf.c @@ -1705,7 +1705,7 @@ add_ranges_from_ranges ( base = (uintptr_t) high; else { - if (!add_range (state, rdata, + if (!add_range (state, rdata, (uintptr_t) low + base + base_address, (uintptr_t) high + base + base_address, error_callback, data, vec)) @@ -1904,7 +1904,7 @@ add_ranges (struct backtrace_state *state, const struct dwarf_sections *dwarf_sections, uintptr_t base_address, int is_bigendian, struct unit *u, uintptr_t base, const struct pcrange *pcrange, - int (*add_range) (struct backtrace_state *state, void *rdata, + int (*add_range) (struct backtrace_state *state, void *rdata, uintptr_t lowpc, uintptr_t highpc, backtrace_error_callback error_callback, void *data, void *vec), diff --git a/libbacktrace/macho.c b/libbacktrace/macho.c index b4856346ccc2..42f24721e6ac 100644 --- a/libbacktrace/macho.c +++ b/libbacktrace/macho.c @@ -674,7 +674,6 @@ macho_add_symtab (struct backtrace_state *state, int descriptor, struct macho_syminfo_data *p; p = backtrace_atomic_load_pointer (pp); - if (p == NULL) break;