]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Introduce RegWord type
authorPetar Jovanovic <petar.jovanovic@rt-rk.com>
Tue, 10 Apr 2018 12:09:08 +0000 (14:09 +0200)
committerPetar Jovanovic <petar.jovanovic@rt-rk.com>
Tue, 10 Apr 2018 12:09:08 +0000 (14:09 +0200)
commitfc6c463d57ffd042a0426a6442ffce92be96d388
tree0e928cc04d40f0630fe24d1ff13df011d22a4a8a
parente14452877f502152b736ba9281658fb35355c842
Introduce RegWord type

On majority of architectures size of long matches register width.
On mips n32 size of long is 32 bits and register width is 64 bits.
Valgrind is written with assumption that long size matches register
width. This is the reason why both UWord for Valgrind and HWord for VEX
match size of long. Long size differs from register size on mips n32 ABI.

Introducing RegWord type that will match size of registers.

Part of the changes required for BZ issue - #345763.

Contributed by:
  Tamara Vlahovic and Dimitrije Nikolic.
18 files changed:
VEX/priv/ir_defs.c
VEX/priv/ir_inject.c
VEX/pub/libvex_basictypes.h
cachegrind/cg_main.c
callgrind/main.c
coregrind/m_debuglog.c
coregrind/m_libcfile.c
coregrind/m_libcsignal.c
coregrind/m_scheduler/scheduler.c
coregrind/m_signals.c
coregrind/m_syscall.c
coregrind/m_syswrap/priv_types_n_macros.h
coregrind/m_syswrap/syswrap-generic.c
coregrind/m_syswrap/syswrap-linux.c
coregrind/m_syswrap/syswrap-main.c
coregrind/m_syswrap/syswrap-mips64-linux.c
coregrind/m_translate.c
coregrind/pub_core_syscall.h