v8/test
yurys@chromium.org 69c2f54d32 Skip samples where top function's stack frame is not setup properly
Stack iterator takes return address based on the frame pointer (ebp) and detects JS frames based on value at fp + StandardFrameConstants::kMarkerOffset. So in order the iterator to work correctly this values should be already setup for the current function. Stack frame is constructed at the very beginning of JS function code and destroyed before return. If sample is taken before before the frame construction is completed or after it was destroyed the stack iterator will wrongly think that FP points at the current functions frame base and will skip callers frame. To avoid this we mark code ranges where  stack frame doesn't exist and completely ignore such samples.

This fixes cctest/test-cpu-profiler/CollectCpuProfile flakiness.

BUG=v8:2628
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/14253015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14670 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-05-14 22:51:33 +00:00
..
cctest Skip samples where top function's stack frame is not setup properly 2013-05-14 22:51:33 +00:00
message Change 'Parse error' to three more informative messages. 2013-04-26 14:26:54 +00:00
mjsunit Implement yield* (delegating yield) 2013-05-14 16:26:56 +00:00
mozilla Remove SCons related files 2013-04-18 11:01:14 +00:00
preparser Remove SCons related files 2013-04-18 11:01:14 +00:00
test262 Fix bogus arguments length check in StringLocaleCompare. 2013-05-10 13:50:10 +00:00