mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-01 20:24:40 +01:00
Support object files larger than 2**32.
Reviewed at https://breakpad.appspot.com/7834002/#ps340001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1453 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
0f27af628f
commit
aa75fa5d4e
7 changed files with 189 additions and 40 deletions
|
|
@ -126,14 +126,14 @@ static bool Start(const Options &options) {
|
|||
fprintf(stderr, "%s: no architecture '%s' is present in file.\n",
|
||||
[primary_file fileSystemRepresentation], options.arch->name);
|
||||
size_t available_size;
|
||||
const struct fat_arch *available =
|
||||
const SuperFatArch *available =
|
||||
dump_symbols.AvailableArchitectures(&available_size);
|
||||
if (available_size == 1)
|
||||
fprintf(stderr, "the file's architecture is: ");
|
||||
else
|
||||
fprintf(stderr, "architectures present in the file are:\n");
|
||||
for (size_t i = 0; i < available_size; i++) {
|
||||
const struct fat_arch *arch = &available[i];
|
||||
const SuperFatArch *arch = &available[i];
|
||||
const NXArchInfo *arch_info =
|
||||
google_breakpad::BreakpadGetArchInfoFromCpuType(
|
||||
arch->cputype, arch->cpusubtype);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue