php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_vm_trace_map.h File Reference
#include "zend_vm_handlers.h"
#include "zend_sort.h"

Go to the source code of this file.

Macros

#define GEN_MAP(n, name)
 
#define VM_TRACE_START()
 

Macro Definition Documentation

◆ GEN_MAP

#define GEN_MAP ( n,
name )
Value:
do { \
ZVAL_LONG(&tmp, (zend_long)(uintptr_t)zend_opcode_handlers[n]); \
zend_hash_str_add(&vm_trace_ht, #name, sizeof(#name) - 1, &tmp); \
} while (0);
zend_long n
Definition ffi.c:4979
int32_t zend_long
Definition zend_long.h:42
zend_string * name

Definition at line 22 of file zend_vm_trace_map.h.

◆ VM_TRACE_START

#define VM_TRACE_START ( )
Value:
do { \
zval tmp; \
zend_hash_init(&vm_trace_ht, 0, NULL, NULL, 1); \
VM_HANDLERS(GEN_MAP) \
zend_vm_trace_init(); \
} while (0)
#define NULL
Definition gdcache.h:45
struct _zval_struct zval
#define GEN_MAP(n, name)

Definition at line 27 of file zend_vm_trace_map.h.