mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-29 10:45:28 +01:00
Several fixes for broken Mac build
This commit is contained in:
parent
7c2799f3ba
commit
5c521532fc
4 changed files with 10 additions and 11 deletions
|
|
@ -140,13 +140,12 @@ void DumpFile(const char *filename) {
|
|||
size_t object_files_size;
|
||||
const SuperFatArch* super_fat_object_files =
|
||||
fat_reader.object_files(&object_files_size);
|
||||
struct fat_arch *object_files;
|
||||
if (!super_fat_object_files->ConvertToFatArch(object_files)) {
|
||||
exit(1);
|
||||
}
|
||||
printf(" object file count: %ld\n", object_files_size);
|
||||
for (size_t i = 0; i < object_files_size; i++) {
|
||||
const struct fat_arch &file = object_files[i];
|
||||
struct fat_arch file;
|
||||
if (!super_fat_object_files->ConvertToFatArch(&file)) {
|
||||
exit(1);
|
||||
}
|
||||
const NXArchInfo *fat_arch_info =
|
||||
google_breakpad::BreakpadGetArchInfoFromCpuType(
|
||||
file.cputype, file.cpusubtype);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue