[PATCH] D76526: Add an algorithm for performing "optimal" layout of a struct.
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 13:53:04 PDT 2021
dblaikie added a comment.
In D76526#2689041 <https://reviews.llvm.org/D76526#2689041>, @lxfind wrote:
> In D76526#2688002 <https://reviews.llvm.org/D76526#2688002>, @dblaikie wrote:
>
>> Out of curiosity, what's the motivating use case for the fixed offset fields in this tool?
>
> There is a need for this in coroutines. In the coroutine frame layout, the first few fields are fixed according to C++ standard.
Ah, makes sense - is that only for prefixes, or can that result in arbitrary non-initial-sequence fixed offset fields too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76526/new/
https://reviews.llvm.org/D76526
More information about the llvm-commits
mailing list