[AArch64] Storing a copy of all function arguments on the stack for debug/instrumentation?

Philipp Tomsich philipp.tomsich@vrull.eu
Wed Jul 6 11:49:52 GMT 2022


To aid in debugging and instrumentation (we would like to look at a stopped
program and unwind while recording all argument values), I would like to
either store a copy of all register arguments on the caller's stack or
record them in the callee's stack on function entry.

Both options are straightforward to implement, but I'd like to avoid
duplicating work.
Has anyone been working on something like this?

Thanks,
Philipp.


More information about the Gcc mailing list