dart-sdk/runtime/vm/signal_handler_win.cc
Vyacheslav Egorov 6e28f8bb40 [vm] Avoid reserved register error on newer compilers
Don't mark SP as clobbered because newer clang versions
do not like that.

Fixes https://github.com/dart-lang/sdk/issues/46873

TEST=ci

Cq-Include-Trybots: luci.dart.try:vm-ffi-android-release-arm-try,vm-ffi-android-product-arm-try
Change-Id: I5b794e7bb02e62576c4c40b8132f9c798cb7639c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209917
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2021-08-16 11:11:04 +00:00

47 lines
1 KiB
C++

// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/globals.h"
#include "vm/signal_handler.h"
#if defined(DART_HOST_OS_WINDOWS)
namespace dart {
uintptr_t SignalHandler::GetProgramCounter(const mcontext_t& mcontext) {
UNIMPLEMENTED();
return 0;
}
uintptr_t SignalHandler::GetFramePointer(const mcontext_t& mcontext) {
UNIMPLEMENTED();
return 0;
}
uintptr_t SignalHandler::GetCStackPointer(const mcontext_t& mcontext) {
UNIMPLEMENTED();
return 0;
}
uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) {
UNIMPLEMENTED();
return 0;
}
uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) {
UNIMPLEMENTED();
return 0;
}
void SignalHandler::Install(SignalAction action) {
UNIMPLEMENTED();
}
void SignalHandler::Remove() {
UNIMPLEMENTED();
}
} // namespace dart
#endif // defined(DART_HOST_OS_WINDOWS)