diff options
author | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-12 23:24:02 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-12 23:24:02 +0000 |
commit | 0c759c6f62c9eff18087b04b1de3285978858629 (patch) | |
tree | 4b82392c19807cec5316faf130890de59b719f32 /src/processor/stackwalker.cc | |
parent | Fix build on Android - put the missing NT_GNU_BUILD_ID #define in elf_gnu_com... (diff) | |
download | breakpad-0c759c6f62c9eff18087b04b1de3285978858629.tar.xz |
Add PPC64 support to breakpad processor.
A=Jia Ji <jijia@google.com>
Original review: https://breakpad.appspot.com/557002/
Review URL: https://breakpad.appspot.com/558002
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1147 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/stackwalker.cc')
-rw-r--r-- | src/processor/stackwalker.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/processor/stackwalker.cc b/src/processor/stackwalker.cc index a92d71b8..076f2e5f 100644 --- a/src/processor/stackwalker.cc +++ b/src/processor/stackwalker.cc @@ -48,6 +48,7 @@ #include "processor/linked_ptr.h" #include "processor/logging.h" #include "processor/stackwalker_ppc.h" +#include "processor/stackwalker_ppc64.h" #include "processor/stackwalker_sparc.h" #include "processor/stackwalker_x86.h" #include "processor/stackwalker_amd64.h" @@ -165,6 +166,12 @@ Stackwalker* Stackwalker::StackwalkerForCPU( memory, modules, frame_symbolizer); break; + case MD_CONTEXT_PPC64: + cpu_stackwalker = new StackwalkerPPC64(system_info, + context->GetContextPPC64(), + memory, modules, frame_symbolizer); + break; + case MD_CONTEXT_AMD64: cpu_stackwalker = new StackwalkerAMD64(system_info, context->GetContextAMD64(), |