Files
ftmemsim-valgrind/callgrind
Josef Weidendorfer c2d143c8ea Callgrind: fix segfault when dumping after toggling instrumentation mode
This bug shows up when callgrind dumps data of a BB with 0 instructions
(the segfault only appears on x86_64; for x86 we were "lucky").

"BB with 0 instructions" happens when you switch on instrumentation
(and callgrinds call graph tracing starts with an emtpy shadow call
stack) in the middle of a run: Whenever the shadow callstack
is empty, but callgrind sees a return instruction (ie. a shadow
callstack underrun), it creates an artifical BB which is faked to
have called the function we are returning from.
This way, the call arc is noted and will appear in the dump.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6053
2006-09-12 19:10:08 +00:00
..
2006-06-05 23:27:18 +00:00
2006-06-05 23:27:18 +00:00
2006-06-05 23:21:15 +00:00
2006-06-05 23:27:18 +00:00
2006-06-05 23:27:18 +00:00
2006-03-20 10:27:30 +00:00
2006-06-05 23:27:18 +00:00
2006-06-05 23:27:18 +00:00
2006-06-05 23:27:18 +00:00
2006-03-20 10:27:30 +00:00
2006-06-05 23:27:18 +00:00
2006-06-05 23:27:18 +00:00
2006-03-20 10:27:30 +00:00
2006-06-05 23:27:18 +00:00