|
Debugger: use debug break slot to break on call.
Break point at calls are currently set via IC. To change this, we
need to set debug break slots instead. We also need to distinguish
those debug break slots as calls to support step-in.
To implement this, we add a data field to debug break reloc info to
indicate non-call debug breaks or in case of call debug breaks, the
number of arguments. We can later use this to find the callee on the
evaluation stack in Debug::PrepareStep.
BUG= v8:4269
R=ulan@chromium.org
LOG=N
Committed: https://crrev.com/8965b683ce39bc3c24ed2466d189323d81a70852
Cr-Commit-Position: refs/heads/master@{#29561}
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+347 lines, -852 lines) |
Patch |
 |
M |
src/arm/assembler-arm.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/arm/debug-arm.cc
|
View
|
1
|
6 chunks |
+14 lines, -74 lines |
0 comments
|
Download
|
 |
M |
src/arm/full-codegen-arm.cc
|
View
|
1
2
3
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/arm64/assembler-arm64.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/arm64/debug-arm64.cc
|
View
|
1
|
6 chunks |
+5 lines, -84 lines |
0 comments
|
Download
|
 |
M |
src/arm64/full-codegen-arm64.cc
|
View
|
1
2
3
|
6 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
 |
M |
src/assembler.h
|
View
|
1
|
4 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/assembler.cc
|
View
|
1
2
3
|
9 chunks |
+77 lines, -17 lines |
0 comments
|
Download
|
 |
M |
src/builtins.h
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/builtins.cc
|
View
|
1
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
M |
src/code-stubs.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
src/debug.h
|
View
|
1
2
3
|
6 chunks |
+11 lines, -35 lines |
0 comments
|
Download
|
 |
M |
src/debug.cc
|
View
|
1
2
3
|
16 chunks |
+21 lines, -177 lines |
0 comments
|
Download
|
 |
M |
src/disassembler.cc
|
View
|
1
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
src/full-codegen.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/full-codegen.cc
|
View
|
1
2
3
|
3 chunks |
+28 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/ia32/assembler-ia32.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/ia32/debug-ia32.cc
|
View
|
1
|
7 chunks |
+6 lines, -76 lines |
0 comments
|
Download
|
 |
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
2
3
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/mips/assembler-mips.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/mips/debug-mips.cc
|
View
|
1
2
|
6 chunks |
+13 lines, -75 lines |
0 comments
|
Download
|
 |
M |
src/mips/full-codegen-mips.cc
|
View
|
1
2
3
|
6 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
 |
M |
src/mips64/assembler-mips64.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/mips64/debug-mips64.cc
|
View
|
1
|
6 chunks |
+4 lines, -59 lines |
0 comments
|
Download
|
 |
M |
src/mips64/full-codegen-mips64.cc
|
View
|
1
2
3
|
6 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
 |
M |
src/x64/assembler-x64.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/x64/debug-x64.cc
|
View
|
1
|
8 chunks |
+6 lines, -67 lines |
0 comments
|
Download
|
 |
M |
src/x64/full-codegen-x64.cc
|
View
|
1
2
3
|
6 chunks |
+20 lines, -18 lines |
0 comments
|
Download
|
 |
M |
test/cctest/test-debug.cc
|
View
|
|
1 chunk |
+0 lines, -55 lines |
0 comments
|
Download
|
 |
A |
test/mjsunit/debug-stepin-construct-call.js
|
View
|
1
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (3 generated)
|