mirror of
https://github.com/dart-lang/sdk
synced 2024-09-04 16:03:44 +00:00
![Alexander Markov](/assets/img/avatar_default.png)
TEST=ci Fixes https://github.com/flutter/flutter/issues/141786 Change-Id: I9c6620b8ee25e36631da2b1213002e8bf30b6473 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347065 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
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"
|
|
|
|
namespace dart {
|
|
|
|
#if (!defined(DART_TARGET_OS_WINDOWS) && !defined(DART_HOST_OS_WINDOWS)) || \
|
|
(!defined(TARGET_ARCH_X64) && !defined(TARGET_ARCH_ARM64))
|
|
|
|
intptr_t UnwindingRecordsPlatform::SizeInBytes() {
|
|
return 0;
|
|
}
|
|
|
|
#endif // (!defined(DART_TARGET_OS_WINDOWS) && !defined(DART_HOST_OS_WINDOWS))
|
|
|
|
#if !defined(DART_HOST_OS_WINDOWS) || \
|
|
(!defined(TARGET_ARCH_X64) && !defined(TARGET_ARCH_ARM64))
|
|
|
|
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) {}
|
|
|
|
#endif // !defined(DART_HOST_OS_WINDOWS) ...
|
|
|
|
} // namespace dart
|