mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 20:01:19 +00:00
fc85488000
TEST=ffi_induce_a_crash_test Bug: https://github.com/dart-lang/sdk/issues/51726 Change-Id: I7df3b56a150434d4c7b0cfbadda4fd9d57606eef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/336203 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
27 lines
900 B
C++
27 lines
900 B
C++
// Copyright (c) 2023, 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 "platform/unwinding_records.h"
|
|
#include "platform/globals.h"
|
|
|
|
#if !defined(DART_HOST_OS_WINDOWS) || \
|
|
(!defined(TARGET_ARCH_X64) && !defined(TARGET_ARCH_ARM64))
|
|
|
|
namespace dart {
|
|
|
|
void UnwindingRecordsPlatform::Init() {}
|
|
void UnwindingRecordsPlatform::Cleanup() {}
|
|
void UnwindingRecordsPlatform::RegisterExecutableMemory(
|
|
void* start,
|
|
intptr_t size,
|
|
void** pp_dynamic_table) {}
|
|
void UnwindingRecordsPlatform::UnregisterDynamicTable(void* p_dynamic_table) {}
|
|
intptr_t UnwindingRecordsPlatform::SizeInBytes() {
|
|
return 0;
|
|
}
|
|
|
|
} // namespace dart
|
|
|
|
#endif // !defined(DART_HOST_OS_WINDOWS) || !defined(TARGET_ARCH_X64)
|