summaryrefslogtreecommitdiff
path: root/memcheck
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2008-05-09 23:26:19 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2008-05-09 23:26:19 +0000
commit105e69c5022a4e100a94dc1aea4ec87e7e3327d0 (patch)
treed45457589bee44e15f804a0850c0302b542527f8 /memcheck
parentdc056b7a82b6a3a570bb9e6c136dd3cee9185cbf (diff)
Oops. Don't die on {x86,amd64}-linux when doing --track-origins=yes
and --smc-check=all. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8021 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck')
-rw-r--r--memcheck/mc_machine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/memcheck/mc_machine.c b/memcheck/mc_machine.c
index e45d666e..07491ad1 100644
--- a/memcheck/mc_machine.c
+++ b/memcheck/mc_machine.c
@@ -489,6 +489,8 @@ static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB )
if (o == GOF(RIP) && sz == 8) return -1; /* slot unused */
if (o == GOF(IDFLAG) && sz == 8) return -1; /* slot used for %DH */
if (o == GOF(FS_ZERO) && sz == 8) return -1; /* slot unused */
+ if (o == GOF(TISTART) && sz == 8) return -1; /* slot unused */
+ if (o == GOF(TILEN) && sz == 8) return -1; /* slot unused */
/* Treat %AH, %BH, %CH, %DH as independent registers. To do this
requires finding 4 unused 32-bit slots in the second-shadow
@@ -591,6 +593,8 @@ static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB )
if (o == GOF(EIP) && sz == 4) return -1; /* slot unused */
if (o == GOF(IDFLAG) && sz == 4) return -1; /* slot used for %DH */
if (o == GOF(ACFLAG) && sz == 4) return -1; /* slot unused */
+ if (o == GOF(TISTART) && sz == 4) return -1; /* slot unused */
+ if (o == GOF(TILEN) && sz == 4) return -1; /* slot unused */
/* Treat %AH, %BH, %CH, %DH as independent registers. To do this
requires finding 4 unused 32-bit slots in the second-shadow