diff options
author | weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-03-04 17:11:35 +0000 |
---|---|---|
committer | weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-03-04 17:11:35 +0000 |
commit | ad6c3b50ce3e0f4001c66e41ad31175cd1e67a6f (patch) | |
tree | 25dc0478b3474da11c241aea6c82caf432442aa3 /callgrind | |
parent | 8c7e25f496b1771f21712db0b1f35935bacfaff3 (diff) |
Quick fix to always correctly update <passed> in setup_bbcc
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11581 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'callgrind')
-rw-r--r-- | callgrind/bbcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/callgrind/bbcc.c b/callgrind/bbcc.c index 4b01b97b..de57ad2d 100644 --- a/callgrind/bbcc.c +++ b/callgrind/bbcc.c @@ -841,6 +841,8 @@ void CLG_(setup_bbcc)(BB* bb) if (!skip && CLG_(current_state).nonskipped) { /* a call from skipped to nonskipped */ CLG_(current_state).bbcc = CLG_(current_state).nonskipped; + /* FIXME: take the real passed count from shadow stack */ + passed = CLG_(current_state).bbcc->bb->cjmp_count; } CLG_(push_call_stack)(CLG_(current_state).bbcc, passed, bbcc, sp, skip); |