12#if (defined(DART_TARGET_OS_WINDOWS) || defined(DART_HOST_OS_WINDOWS)) && \
13 (defined(TARGET_ARCH_X64) || defined(TARGET_ARCH_ARM64))
15#if defined(TARGET_ARCH_X64)
16const intptr_t kReservedUnwindingRecordsSizeBytes = 64;
18const intptr_t kReservedUnwindingRecordsSizeBytes = 4 *
KB;
22 return kReservedUnwindingRecordsSizeBytes;
27#if defined(DART_HOST_OS_WINDOWS) && \
28 (defined(TARGET_ARCH_X64) || defined(TARGET_ARCH_ARM64))
33 void** pp_dynamic_table) {
34 intptr_t unwinding_record_offset =
size - kReservedUnwindingRecordsSizeBytes;
35 uint8_t* record_ptr =
static_cast<uint8_t*
>(
start) + unwinding_record_offset;
36 CodeRangeUnwindingRecord* record =
37 reinterpret_cast<CodeRangeUnwindingRecord*
>(record_ptr);
39 uword start_num =
reinterpret_cast<intptr_t
>(
start);
41 DWORD status = RtlAddGrowableFunctionTable(
43 record->runtime_function,
44 record->runtime_function_count,
45 record->runtime_function_count,
49 FATAL(
"Failed to add growable function table: 0x%x\n", status);
54 RtlDeleteGrowableFunctionTable(p_dynamic_table);
#define RELEASE_ASSERT(cond)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size