Add indirection for visitor arguments
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 11 Dec 2023 16:23:10 +0000 (11:23 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 11 Dec 2023 16:23:10 +0000 (11:23 -0500)
commitc6af61dc9093cd7d47fce4c6a847a8eabb08d18f
treebf842fdc5febb72549dc77c9f5b8a58a7dd59c35
parent0cbdadb5b1bc3b077e1b9ec4fa2b8a1bcff98ee8
Add indirection for visitor arguments

In order to keep the argument vector const, add an indirection for
visitor arguments to a non-const area of memory, which is clearly
documented as modified by libside.

Add a "cached_arg" placeholder pointer to the visitor structures.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/abi/type-argument.h
include/side/instrumentation-c-api.h
src/tracer.c
tests/unit/test.c
This page took 0.023403 seconds and 4 git commands to generate.