<div dir="ltr"><div>Hi Kevin, Andy,</div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">> ... I had originally not added the SHF_ALLOC flag to the section which meant that it didn't get allocated through the MemoryManager at all, but regardless it still ends up in the emitted object file.</span><br>
</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">The StackMap section not getting allocated through the MemoryManager might be considered a bug, regardless of the SHF_ALLOC setting. I'm going to discuss that with some people who are more familiar with MemoryManager.</span><br>
</div><div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Ideally, the stack map section should not need to be loaded. i.e. it would be nice to avoid making a copy of it. But the MCJIT client does not necessarily know how to parse the object format, so I don’t know if WebKit could use an event listener. Maybe Lang can answer this better.<br>
</blockquote><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">For now I'd say "whatever works". I'm doing some investigation now to try to figure out the right way to deal with this going forward - the deprecation of the old JIT may mean that some of this infrastructure changes or goes away.</span><br>
</div><div> </div><div>- Lang.</div></div></div></div></div>