>
> The stack iterator needs to be able to skip over C++ frames on the stack
>
Is this a general requirement for V8 generated code for all platforms? Use 
x64 for example which walks the stack by following frame pointer (rbp) 
chain, does this mean JS entry function should stop this frame pointer 
chain, and store the caller's frame pointer in isolate?  How to usually 
handle the frame for JS entry function if a full stackwalk is needed?

On Tuesday, July 9, 2019 at 2:09:20 AM UTC-7, Jakob Kummerow wrote:
>
> The stack iterator needs to be able to skip over C++ frames on the stack. 
> Information about the topmost C++ section is stored on the isolate (where 
> else would you store it?), information about additional sections further 
> down needs to be saved elsewhere. Storing it on the stack makes it easy for 
> the stack walker to find it.
>
> On Tue, Jul 9, 2019 at 10:21 AM Thomson Tan <lil...@gmail.com 
> <javascript:>> wrote:
>
>> Seems the JSEntry frame (Generate_JSEntryVariant) 
>> saves IsolateAddressId::kCEntryFPAddress from isolate. What is this C entry 
>> FP field for? I guess it saves frame pointer passed from C caller, but 
>> don't understand why it comes from isolate.
>>
>> -- 
>> -- 
>> v8-users mailing list
>> v8-u...@googlegroups.com <javascript:>
>> http://groups.google.com/group/v8-users
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to v8-u...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/v8-users/2cb3b405-4901-4c8a-90f5-9f684b29d4ee%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/v8-users/2cb3b405-4901-4c8a-90f5-9f684b29d4ee%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/041ba8c9-ad39-4e7f-a951-017df9d0f02e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to