diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc index d8a45dc2..afc5f038 100644 --- a/src/processor/minidump.cc +++ b/src/processor/minidump.cc @@ -2399,7 +2399,11 @@ const uint8_t* MinidumpModule::GetCVRecord(uint32_t* size) { module_.cv_record.data_size; return NULL; } - // There's nothing to swap in CVInfoELF, it's just raw bytes. + if (minidump_->swap()) { + MDCVInfoELF* cv_record_elf = + reinterpret_cast(&(*cv_record)[0]); + Swap(&cv_record_elf->cv_signature); + } } // If the signature doesn't match something above, it's not something