mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-19 00:39:38 +00:00
Revert "Several fixes for broken Mac build"
This reverts commit 5c521532fc.
This commit is contained in:
@@ -140,12 +140,13 @@ 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++) {
|
||||
struct fat_arch file;
|
||||
if (!super_fat_object_files->ConvertToFatArch(&file)) {
|
||||
exit(1);
|
||||
}
|
||||
const struct fat_arch &file = object_files[i];
|
||||
const NXArchInfo *fat_arch_info =
|
||||
google_breakpad::BreakpadGetArchInfoFromCpuType(
|
||||
file.cputype, file.cpusubtype);
|
||||
|
||||
Reference in New Issue
Block a user