comparison docs/StackMaps.rst @ 148:63bd29f05246

merged
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 19:46:37 +0900
parents c2174574ed3a
children
comparison
equal deleted inserted replaced
146:3fc4d5c3e21e 148:63bd29f05246
425 ``LLVMMemoryManagerAllocateDataSectionCallback()``. When LLVM creates 425 ``LLVMMemoryManagerAllocateDataSectionCallback()``. When LLVM creates
426 this section, it invokes the callback and passes the section name. The 426 this section, it invokes the callback and passes the section name. The
427 JIT can record the in-memory address of the section at this time and 427 JIT can record the in-memory address of the section at this time and
428 later parse it to recover the stack map data. 428 later parse it to recover the stack map data.
429 429
430 On Darwin, the stack map section name is "__llvm_stackmaps". The 430 For MachO (e.g. on Darwin), the stack map section name is
431 segment name is "__LLVM_STACKMAPS". 431 "__llvm_stackmaps". The segment name is "__LLVM_STACKMAPS".
432
433 For ELF (e.g. on Linux), the stack map section name is
434 ".llvm_stackmaps". The segment name is "__LLVM_STACKMAPS".
432 435
433 Stack Map Usage 436 Stack Map Usage
434 =============== 437 ===============
435 438
436 The stack map support described in this document can be used to 439 The stack map support described in this document can be used to