|
From: Bart V. A. <bar...@gm...> - 2008-05-14 14:39:42
|
On Mon, May 12, 2008 at 11:25 PM, Florian Krohm <br...@ac...> wrote: > Assuming that the target compiler is needed, wouldn't it be possible > to eliminate genoffsets altogether and distribute the definitions that > it generates to the various libvex_guest_XYZZY.h files? > E.g. libvex_guest_ppc64.h would include > > #define OFFSET_ppc64_GPR0 offsetof(VexGuestPPC64State,guest_GPR0) > > and so on and similarly for the other targets. > There is only one guest state active for a given valgrind instance so > we only need one set of these OFFSETs at a time. > Or am I missing something ? Hello Florian, Are you aware that the file libvex_guest_offsets.h is also included from assembler files (.S) ? Bart. |