Re: [PATCH] D38473: Include getting generated struct offsets in CodegenABITypes

2017-10-02 Thread Michael Ferguson via cfe-commits
I forgot to include the Phabricator URL for the patch in question. It is here: https://reviews.llvm.org/D38473 Thanks, -michael On Mon, Oct 2, 2017 at 3:19 PM, Michael Ferguson wrote: > This change adds a new function, CodeGen::getFieldNumber, that > enables a user of clang's code generation t

[PATCH] D38473: Include getting generated struct offsets in CodegenABITypes

2017-10-02 Thread Michael Ferguson via cfe-commits
This change adds a new function, CodeGen::getFieldNumber, that enables a user of clang's code generation to get the field number in a generated LLVM IR struct that corresponds to a particular field in a C struct. It is important to expose this information in Clang's code generation interface becau