[cfe-dev] Advice for fixing some misguided code
David Chisnall via cfe-dev
cfe-dev at lists.llvm.org
Fri Aug 26 03:14:38 PDT 2016
On 26 Aug 2016, at 11:04, Martin J. O'Riordan via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> I think that the right solution would be to decouple how I pass this information from CLang to LLVM, and I would like to seek advice from the community on how I might better implement this requirement. Or if there is an existing mechanism I could use to do this.
The best mechanism would be module-level metadata. There’s already a creator node used for emitting DWARF debug info, so extending that to include the complete clang invocation seems like the best bet.
More information about the cfe-dev