libbacktrace: add Mach-O 64-bit FAT support
authorIan Lance Taylor <iant@golang.org>
Mon, 24 Aug 2020 20:06:52 +0000 (13:06 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 24 Aug 2020 20:10:26 +0000 (13:10 -0700)
commit74c176ca2f1fe702f6e46d86f634685480094335
tree63cf9c645ec97c8e98b4535e8187bc29732c73b6
parent0d166f4a8773a43d925be006e713b7d81626ddb9
libbacktrace: add Mach-O 64-bit FAT support

libbacktrace/:
* macho.c (MACH_O_MH_MAGIC_FAT_64): Define.
(MACH_O_MH_CIGAM_FAT_64): Define.
(struct macho_fat_arch_64): Define.
(macho_add_fat): Add and use is_64 parameter.
(macho_add): Recognize 64-bit fat files.
libbacktrace/macho.c