mirror of
https://github.com/ianlancetaylor/libbacktrace.git
synced 2026-04-06 01:19:07 +08:00
libbacktrace: recognize new Mach-O DWARF sections
Patch from Pavel Safonov. These sections are used on macOS Sequoia. Fixes #136 * macho.c (dwarf_section_names): Add __debug_addr and __debug_line_str.
This commit is contained in:
4
macho.c
4
macho.c
@@ -306,9 +306,9 @@ static const char * const dwarf_section_names[DEBUG_MAX] =
|
|||||||
"__debug_abbrev",
|
"__debug_abbrev",
|
||||||
"__debug_ranges",
|
"__debug_ranges",
|
||||||
"__debug_str",
|
"__debug_str",
|
||||||
"", /* DEBUG_ADDR */
|
"__debug_addr",
|
||||||
"__debug_str_offs",
|
"__debug_str_offs",
|
||||||
"", /* DEBUG_LINE_STR */
|
"__debug_line_str",
|
||||||
"__debug_rnglists"
|
"__debug_rnglists"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user