[yaml2obj] - Program headers: add an additional check for `Offset`
The `Offset` field is used to set the file offset of a program header. In a normal object it should not be greater than the minimal offset of sections included into segment. This patch adds a check for that and adds tests. Differential revision: https://reviews.llvm.org/D78304
Loading
Please sign in to comment