|
The logic of how symbol supplier interacts with source line resolver to fill
source line info and get WindowsFrameInfo & CFIFrameInfo, is currently embedded
in StackWalker::Walk().
Therefore it is difficult to inject custom logic into the process of
resolving(symbolizing) stack frame, without the refactoring.
In this CL, I moved the logic & code from StackWalker into a separate helper
class named SourceLineResolverHelper. This enables us to extend or override the
logic by subclassing the helper class, for example, adding a cache layer, or
symbolizing remotely via network, etc.
This CL shouldn't affect any existing user of breakpad processor.
Total comments: 15
Total comments: 35
Total comments: 28
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats |
Patch |
|
M |
Makefile.am
|
View
|
1
2
3
4
5
|
6 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
Makefile.in
|
View
|
1
2
3
4
5
|
65 chunks |
+94 lines, -130 lines |
0 comments
|
Download
|
|
M |
aclocal.m4
|
View
|
1
2
3
4
5
|
18 chunks |
+27 lines, -49 lines |
0 comments
|
Download
|
|
M |
configure
|
View
|
1
2
3
4
5
|
190 chunks |
+349 lines, -401 lines |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/minidump_processor.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+22 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/stack_frame_cpu.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/stackwalker.h
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+28 lines, -41 lines |
0 comments
|
Download
|
|
M |
src/processor/minidump_processor.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+22 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+39 lines, -86 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_amd64.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_amd64.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_amd64_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
10 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_arm.cc
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+28 lines, -27 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_arm.h
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_arm_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+20 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_ppc.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_ppc.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_sparc.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+14 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_sparc.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_x86.cc
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+35 lines, -36 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_x86.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_x86_unittest.cc
|
View
|
1
2
3
4
5
|
15 chunks |
+29 lines, -14 lines |
0 comments
|
Download
|
Total messages: 11
|