Commit 7757cc3
deps: V8: backport 6a0a25abaed3
Original commit message:
[riscv] Fix sp handling in MacroAssembler::LeaveFrame
Keep sp <= fp to ensure that data right above fp doesn't get clobbered
by an inopportune signal and its handler.
Such clobbering can happen in e.g. Node.js when JIT-compiled code is
interrupted by a SIGCHLD handler.
Bug: None
Change-Id: Ief0836032ada7942e89f081f7605f61632c4d414
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7540554
Reviewed-by: Ji Qiu <qiuji@iscas.ac.cn>
Commit-Queue: Yahan Lu (LuYahan) <yahan@iscas.ac.cn>
Reviewed-by: Rezvan Mahdavi Hezaveh <rezvan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#105069}
Refs: v8/v8@6a0a25a
Co-authored-by: kxxt <rsworktech@outlook.com>
PR-URL: #61670
Reviewed-By: Richard Lau <richard.lau@ibm.com>1 parent 7cf913f commit 7757cc3Copy full SHA for 7757cc3
3 files changed
+4-2Lines changed: 4 additions & 2 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- deps/v8
- src/codegen/riscv
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
294 | 294 | |
295 | 295 | |
296 | 296 | |
| 297 | + |
297 | 298 | |
298 | 299 | |
299 | 300 | |
|
Collapse file
deps/v8/src/codegen/riscv/macro-assembler-riscv.cc
Copy file name to clipboardExpand all lines: deps/v8/src/codegen/riscv/macro-assembler-riscv.cc+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6709 | 6709 | |
6710 | 6710 | |
6711 | 6711 | |
6712 | | - |
| 6712 | + |
6713 | 6713 | |
6714 | 6714 | |
| 6715 | + |
6715 | 6716 | |
6716 | 6717 | |
6717 | 6718 | |
|
0 commit comments