Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: src/processor/stackwalker.cc

Issue 1418453011: [mips64] Support for mips n64 (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Rebase with Makefile change Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 Google Inc. 1 // Copyright (c) 2010 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 memory, modules, frame_symbolizer); 227 memory, modules, frame_symbolizer);
228 break; 228 break;
229 229
230 case MD_CONTEXT_SPARC: 230 case MD_CONTEXT_SPARC:
231 cpu_stackwalker = new StackwalkerSPARC(system_info, 231 cpu_stackwalker = new StackwalkerSPARC(system_info,
232 context->GetContextSPARC(), 232 context->GetContextSPARC(),
233 memory, modules, frame_symbolizer); 233 memory, modules, frame_symbolizer);
234 break; 234 break;
235 235
236 case MD_CONTEXT_MIPS: 236 case MD_CONTEXT_MIPS:
237 case MD_CONTEXT_MIPS64:
237 cpu_stackwalker = new StackwalkerMIPS(system_info, 238 cpu_stackwalker = new StackwalkerMIPS(system_info,
238 context->GetContextMIPS(), 239 context->GetContextMIPS(),
239 memory, modules, frame_symbolizer); 240 memory, modules, frame_symbolizer);
240 break; 241 break;
241 242
242 case MD_CONTEXT_ARM: 243 case MD_CONTEXT_ARM:
243 { 244 {
244 int fp_register = -1; 245 int fp_register = -1;
245 if (system_info->os_short == "ios") 246 if (system_info->os_short == "ios")
246 fp_register = MD_CONTEXT_ARM_REG_IOS_FP; 247 fp_register = MD_CONTEXT_ARM_REG_IOS_FP;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 symbolizer_result != StackFrameSymbolizer::kWarningCorruptSymbols) { 287 symbolizer_result != StackFrameSymbolizer::kWarningCorruptSymbols) {
287 // Some error occurred during symbolization, but the address is within a 288 // Some error occurred during symbolization, but the address is within a
288 // known module 289 // known module
289 return true; 290 return true;
290 } 291 }
291 292
292 return !frame.function_name.empty(); 293 return !frame.function_name.empty();
293 } 294 }
294 295
295 } // namespace google_breakpad 296 } // namespace google_breakpad
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698