%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
// Copyright 2021 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "include/v8config.h" #include "src/trap-handler/trap-handler-simulator.h" #if V8_OS_MACOSX #define SYMBOL(name) "_" #name #else // !V8_OS_MACOSX #define SYMBOL(name) #name #endif // !V8_OS_MACOSX // Define the ProbeMemory function declared in trap-handler-simulators.h. asm( ".globl " SYMBOL(ProbeMemory) " \n" SYMBOL(ProbeMemory) ": \n" // First parameter (address) passed in %rdi. // The second parameter (pc) is unused here. It is read by the trap handler // instead. " movb (%rdi), %al \n" // Return 0 on success. " xorl %eax, %eax \n" // Place an additional "ret" here instead of falling through to the one // below, because (some) toolchain(s) on Mac set ".subsections_via_symbols", // which can cause the "ret" below to be placed elsewhere. An alternative // prevention would be to add ".alt_entry" (see // https://reviews.llvm.org/D79926), but just adding a "ret" is simpler. " ret \n" ".globl " SYMBOL(v8_probe_memory_continuation) "\n" SYMBOL(v8_probe_memory_continuation) ": \n" // If the trap handler continues here, it wrote the landing pad in %rax. " ret \n");