dart-sdk/runtime/platform/unwinding_records.cc
Tess Strickland 6b922021a1 [platform] Fix include of vm/globals.h instead of platform/globals.h.
TEST=build

Change-Id: If9e88f09268ff9aecd483734924c9c6f6170d4fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/302783
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2023-05-11 11:53:56 +00:00

26 lines
820 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)
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)