• mikhail.naganov@gmail.com's avatar
    Fix the problem with JS entries in tickprocessor. · 2cc6fef9
    mikhail.naganov@gmail.com authored
    The main problem was due to the following: after Erik had fixed the logger to report library addresses, tickprocessor started to add to the code map entries that covered almost entire memory. This happened because tickprocessor contains a heuristic to bias addresses of functions from dynamic libraries:
    
        if (funcInfo.start < libStart && funcInfo.start < libEnd - libStart) {
          funcInfo.start += libStart;
        }
    
    And, as tickprocessor tried to process all symbols from the library, including data entries, which can be outside reported library addresses range, the second condition failed, and funcInfo.start remained unbiased.
    
    Review URL: http://codereview.chromium.org/125192
    
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2194 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    2cc6fef9
Name
Last commit
Last update
..
gyp Loading commit data...
oprofile Loading commit data...
v8.xcodeproj Loading commit data...
visual_studio Loading commit data...
codemap.js Loading commit data...
consarray.js Loading commit data...
csvparser.js Loading commit data...
js2c.py Loading commit data...
jsmin.py Loading commit data...
linux-tick-processor Loading commit data...
linux-tick-processor.py Loading commit data...
presubmit.py Loading commit data...
profile.js Loading commit data...
profile_view.js Loading commit data...
run-valgrind.py Loading commit data...
splaytree.js Loading commit data...
splaytree.py Loading commit data...
stats-viewer.py Loading commit data...
test.py Loading commit data...
tickprocessor.js Loading commit data...
tickprocessor.py Loading commit data...
utils.py Loading commit data...
windows-tick-processor.bat Loading commit data...
windows-tick-processor.py Loading commit data...