Fix issue 427: JS tick processor now works out-of-the-box for Chromium on Windows.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Aug 2009 13:45:03 +0000 (13:45 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Aug 2009 13:45:03 +0000 (13:45 +0000)
commitd87f83c5f8a6adc1c6ff55838b06fd806d4f5fa1
treef5843ca74e0320081fad7d8805740991b38cdaf4
parent11e7f2a30b87b37999fe3af47f9f4087e35105dd
Fix issue 427: JS tick processor now works out-of-the-box for Chromium on Windows.

MSVS names '.map' file using only module's name, so both 'a.exe' and 'a.dll' will have 'a.map' file. To distinguish an originating module, we're now checking for image base which is always 00400000 for .exe files, and not 00400000 for .dlls.

Verified that windows-tick-processor can now process logs from Chromium using .map file generated for 'chrome.dll', an that it still works for V8's 'shell.exe'.

Review URL: http://codereview.chromium.org/172044

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2699 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/mjsunit/tools/tickprocessor.js
tools/tickprocessor.js