[PATCH] enable stackmap generation for ELF

Lang Hames lhames at gmail.com
Tue Dec 17 11:11:22 PST 2013


Hi Kevin, Andy,

> ... 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.

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.

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.
>

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.

- Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131217/7396fbef/attachment.html>


More information about the llvm-commits mailing list