mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-22 17:32:59 +00:00
Several fixes for broken Mac build
This commit is contained in:
@@ -3885,7 +3885,7 @@ const CodeModules* MinidumpUnloadedModuleList::Copy() const {
|
||||
return new BasicCodeModules(this);
|
||||
}
|
||||
|
||||
vector<linked_ptr<const CodeModule>>
|
||||
vector<linked_ptr<const CodeModule> >
|
||||
MinidumpUnloadedModuleList::GetShrunkRangeModules() const {
|
||||
return vector<linked_ptr<const CodeModule> >();
|
||||
}
|
||||
|
||||
@@ -56,8 +56,8 @@ StackwalkerMIPS::StackwalkerMIPS(const SystemInfo* system_info,
|
||||
: Stackwalker(system_info, memory, modules, resolver_helper),
|
||||
context_(context) {
|
||||
if (context_->context_flags & MD_CONTEXT_MIPS64 ) {
|
||||
if ((memory_ && memory_->GetBase() + memory_->GetSize() - 1)
|
||||
> 0xffffffffffffffff) {
|
||||
if (memory_ && ((memory_->GetBase() + memory_->GetSize() - 1)
|
||||
> 0xffffffffffffffff)) {
|
||||
BPLOG(ERROR) << "Memory out of range for stackwalking mips64: "
|
||||
<< HexString(memory_->GetBase())
|
||||
<< "+"
|
||||
@@ -65,7 +65,7 @@ StackwalkerMIPS::StackwalkerMIPS(const SystemInfo* system_info,
|
||||
memory_ = NULL;
|
||||
}
|
||||
} else {
|
||||
if ((memory_ && memory_->GetBase() + memory_->GetSize() - 1) > 0xffffffff) {
|
||||
if (memory_ && ((memory_->GetBase() + memory_->GetSize() - 1) > 0xffffffff)) {
|
||||
BPLOG(ERROR) << "Memory out of range for stackwalking mips32: "
|
||||
<< HexString(memory_->GetBase())
|
||||
<< "+"
|
||||
|
||||
Reference in New Issue
Block a user