mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 14:45:46 +00:00
Fix compilation of breakpad on Linux.
Fix some copy/paste errors from commit 41440eaa. BUG=None R=thestig@chromium.org Review URL: https://codereview.chromium.org/1564293002 .
This commit is contained in:
parent
728bcdff61
commit
7b0d7a976e
|
@ -1004,7 +1004,7 @@ class MinidumpWriter {
|
||||||
new(allocator) ProcCpuInfoReader(fd);
|
new(allocator) ProcCpuInfoReader(fd);
|
||||||
const char* field;
|
const char* field;
|
||||||
while (reader->GetNextField(&field)) {
|
while (reader->GetNextField(&field)) {
|
||||||
for (const CpuInfoEntry& entry : cpu_info_table) {
|
for (const CpuIdEntry& entry : cpu_id_entries) {
|
||||||
if (my_strcmp(entry.field, field) != 0)
|
if (my_strcmp(entry.field, field) != 0)
|
||||||
continue;
|
continue;
|
||||||
uintptr_t result = 0;
|
uintptr_t result = 0;
|
||||||
|
@ -1083,7 +1083,7 @@ class MinidumpWriter {
|
||||||
tag_len = strlen(tag);
|
tag_len = strlen(tag);
|
||||||
value_len = 0;
|
value_len = 0;
|
||||||
}
|
}
|
||||||
for (const CpuInfoEntry& entry : cpu_features_entries) {
|
for (const CpuFeaturesEntry& entry : cpu_features_entries) {
|
||||||
if (tag_len == strlen(entry.tag) &&
|
if (tag_len == strlen(entry.tag) &&
|
||||||
!memcmp(tag, entry.tag, tag_len)) {
|
!memcmp(tag, entry.tag, tag_len)) {
|
||||||
sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry.hwcaps;
|
sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry.hwcaps;
|
||||||
|
|
Loading…
Reference in a new issue