[PATCH] Tell valgrind about stack switching

John Reiser jreiser at BitWagon.com
Thu Jul 24 12:22:00 CDT 2008

libs: wine_switch_to_stack and wine_call_on_stack tell valgrind about
switching stacks.  This is safer, quieter, and more effective than relying on
valgrind's heuristics for detecting stack switching.  If valgrind is not running
then the added code is a multi-instruction no-op of about 16 or 30 cycles.

 libs/wine/port.c |   95 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 88 insertions(+), 7 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ee461d0cbeadc4d36e8805472d166e4719255b5a.diff
Type: text/x-patch
Size: 5238 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080724/50c1ce65/attachment-0001.bin 

More information about the wine-patches mailing list