OK, good to know this.

I'm still not get used to this freedom after strict machine-controlled
rules of google3 code review process.

On Thu, Jun 18, 2009 at 23:08, Erik Corry<[email protected]> wrote:
> 2009/6/18 Mikhail Naganov <[email protected]>:
>> Thanks, but I can't see your "LGTM" in the issue. Can you please put
>> the stamp in Rietveld?
>
> I can do that.
>
> The reason I didn't do it in the code review tool was that I was
> reading mail on my phone.  Rietveld is a little heavy on a phone and
> the patch was inlined in the mail so I just sent a reply mail.  I
> think it's OK to commit stuff if you get an email LGTM.
>
>> On Thu, Jun 18, 2009 at 18:56, Erik Corry<[email protected]> wrote:
>>> LGTM
>>>
>>> On 2009-06-18, [email protected] <[email protected]> wrote:
>>>> Reviewers: Erik Corry,
>>>>
>>>> Description:
>>>> Fix 'nm' results parsing in tickprocessor.
>>>>
>>>> Without an explicit check if a function belongs to shared library
>>>> address space, "finishing" a library symbols processing with
>>>> 'addPrevEntry(libEnd);' can cause emission of code entries which cover
>>>> almost the entire address space, shadowing other code.
>>>>
>>>> Please review this at http://codereview.chromium.org/131033
>>>>
>>>> Affected files:
>>>>    M tools/tickprocessor.js
>>>>
>>>>
>>>> Index: tools/tickprocessor.js
>>>> diff --git a/tools/tickprocessor.js b/tools/tickprocessor.js
>>>> index
>>>> 72d367f1990aab42b80b46435b3e446f8bddd5fd..63c69ac9a5bbfd4f52eb148944b0f992c36edb12
>>>>
>>>> 100644
>>>> --- a/tools/tickprocessor.js
>>>> +++ b/tools/tickprocessor.js
>>>> @@ -379,7 +379,9 @@ CppEntriesProvider.prototype.parseVmSymbols = function(
>>>>     function addPrevEntry(end) {
>>>>       // Several functions can be mapped onto the same address. To avoid
>>>>       // creating zero-sized entries, skip such duplicates.
>>>> -    if (prevEntry && prevEntry.start < end) {
>>>> +    // Also double-check that function belongs to the library address
>>>> space.
>>>> +    if (prevEntry && prevEntry.start < end &&
>>>> +        prevEntry.start >= libStart && end <= libEnd) {
>>>>         processorFunc(prevEntry.name, prevEntry.start, end);
>>>>       }
>>>>     }
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Erik Corry, Software Engineer
>>> Google Denmark ApS.  CVR nr. 28 86 69 84
>>> c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018
>>> Copenhagen K, Denmark.
>>>
>>
>
>
>
> --
> Erik Corry, Software Engineer
> Google Denmark ApS.  CVR nr. 28 86 69 84
> c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018
> Copenhagen K, Denmark.
>

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to