[mips][unwinder] Restore callee saved registers after unwinding
Port d6c586f756
https://chromium-review.googlesource.com/c/v8/v8/+/2472000
Change-Id: I1dce1dcdcc80897371c122aa73ef8fc290e923ac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2491600
Reviewed-by: Santiago Aboy Solanes <solanes@chromium.org>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#70699}
This commit is contained in:
parent
50d474a268
commit
365948ed6e
2
BUILD.gn
2
BUILD.gn
@ -3636,6 +3636,7 @@ v8_source_set("v8_base_without_compiler") {
|
||||
"src/debug/mips/debug-mips.cc",
|
||||
"src/deoptimizer/mips/deoptimizer-mips.cc",
|
||||
"src/diagnostics/mips/disasm-mips.cc",
|
||||
"src/diagnostics/mips/unwinder-mips.cc",
|
||||
"src/execution/mips/frame-constants-mips.cc",
|
||||
"src/execution/mips/frame-constants-mips.h",
|
||||
"src/execution/mips/simulator-mips.cc",
|
||||
@ -3663,6 +3664,7 @@ v8_source_set("v8_base_without_compiler") {
|
||||
"src/debug/mips64/debug-mips64.cc",
|
||||
"src/deoptimizer/mips64/deoptimizer-mips64.cc",
|
||||
"src/diagnostics/mips64/disasm-mips64.cc",
|
||||
"src/diagnostics/mips64/unwinder-mips64.cc",
|
||||
"src/execution/mips64/frame-constants-mips64.cc",
|
||||
"src/execution/mips64/frame-constants-mips64.h",
|
||||
"src/execution/mips64/simulator-mips64.cc",
|
||||
|
12
src/diagnostics/mips/unwinder-mips.cc
Normal file
12
src/diagnostics/mips/unwinder-mips.cc
Normal file
@ -0,0 +1,12 @@
|
||||
// Copyright 2020 the V8 project authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/diagnostics/unwinder.h"
|
||||
|
||||
namespace v8 {
|
||||
|
||||
void GetCalleeSavedRegistersFromEntryFrame(void* fp,
|
||||
RegisterState* register_state) {}
|
||||
|
||||
} // namespace v8
|
12
src/diagnostics/mips64/unwinder-mips64.cc
Normal file
12
src/diagnostics/mips64/unwinder-mips64.cc
Normal file
@ -0,0 +1,12 @@
|
||||
// Copyright 2020 the V8 project authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/diagnostics/unwinder.h"
|
||||
|
||||
namespace v8 {
|
||||
|
||||
void GetCalleeSavedRegistersFromEntryFrame(void* fp,
|
||||
RegisterState* register_state) {}
|
||||
|
||||
} // namespace v8
|
Loading…
Reference in New Issue
Block a user