(original) (raw)
On Jul 17, 2015, at 1:16 PM, Juergen Ributzka <juergen@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