mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-24 07:43:05 +08:00
libbacktrace: recognize new Mach-O DWARF sections
Patch from Pavel Safonov. These sections are used on macOS Sequoia. Fixes https://github.com/ianlancetaylor/libbacktrace/issues/136 * macho.c (dwarf_section_names): Add __debug_addr and __debug_line_str.
This commit is contained in:
parent
35bf490452
commit
bab7a64c1a
@ -306,9 +306,9 @@ static const char * const dwarf_section_names[DEBUG_MAX] =
|
||||
"__debug_abbrev",
|
||||
"__debug_ranges",
|
||||
"__debug_str",
|
||||
"", /* DEBUG_ADDR */
|
||||
"__debug_addr",
|
||||
"__debug_str_offs",
|
||||
"", /* DEBUG_LINE_STR */
|
||||
"__debug_line_str",
|
||||
"__debug_rnglists"
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user