OLD | NEW |
1 // Copyright (c) 2006, Google Inc. | 1 // Copyright (c) 2006, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 | 517 |
518 case MD_CPU_ARCHITECTURE_ARM64: { | 518 case MD_CPU_ARCHITECTURE_ARM64: { |
519 info->cpu = "arm64"; | 519 info->cpu = "arm64"; |
520 break; | 520 break; |
521 } | 521 } |
522 | 522 |
523 case MD_CPU_ARCHITECTURE_MIPS: { | 523 case MD_CPU_ARCHITECTURE_MIPS: { |
524 info->cpu = "mips"; | 524 info->cpu = "mips"; |
525 break; | 525 break; |
526 } | 526 } |
| 527 case MD_CPU_ARCHITECTURE_MIPS64: { |
| 528 info->cpu = "mips64"; |
| 529 break; |
| 530 } |
527 | 531 |
528 default: { | 532 default: { |
529 // Assign the numeric architecture ID into the CPU string. | 533 // Assign the numeric architecture ID into the CPU string. |
530 char cpu_string[7]; | 534 char cpu_string[7]; |
531 snprintf(cpu_string, sizeof(cpu_string), "0x%04x", | 535 snprintf(cpu_string, sizeof(cpu_string), "0x%04x", |
532 raw_system_info->processor_architecture); | 536 raw_system_info->processor_architecture); |
533 info->cpu = cpu_string; | 537 info->cpu = cpu_string; |
534 break; | 538 break; |
535 } | 539 } |
536 } | 540 } |
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1532 char assertion_line[32]; | 1536 char assertion_line[32]; |
1533 snprintf(assertion_line, sizeof(assertion_line), "%u", raw_assertion->line); | 1537 snprintf(assertion_line, sizeof(assertion_line), "%u", raw_assertion->line); |
1534 assertion_string.append(" at line "); | 1538 assertion_string.append(" at line "); |
1535 assertion_string.append(assertion_line); | 1539 assertion_string.append(assertion_line); |
1536 } | 1540 } |
1537 | 1541 |
1538 return assertion_string; | 1542 return assertion_string; |
1539 } | 1543 } |
1540 | 1544 |
1541 } // namespace google_breakpad | 1545 } // namespace google_breakpad |
OLD | NEW |