[LLVMdev] [RFC] New StackMap format proposal (StackMap v2) (original) (raw)

Andrew Trick atrick at apple.com
Fri Jul 17 14:05:58 PDT 2015


On Jul 17, 2015, at 1:16 PM, Juergen Ributzka <juergen at apple.com> wrote:

As an example, if we need to add the SymbolConstants section mentioned down thread, that shouldn't require an version change. Once we release a LLVM version any change should require a version change.

Since you’ve designed an extensible format, you probably want a major and minor version now to distinguish compatibility breaking changes. You can explicitly leave the size of the header unspecified so that 2.1 can add a “stackmap section".

Header v2 { uint8 : Stack Map Version (2) uint8 : Reserved [3] (0) uint32 : Constants Offset (bytes) uint32 : Frame Records Offset (bytes) uint32 : Frame Registers Offset (bytes) uint32 : StackMap Records Offset (bytes) uint32 : Locations Offset (bytes) uint32 : LiveOuts Offset (bytes) }

Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150717/483c29a6/attachment.html>



More information about the llvm-dev mailing list