vgvassilev wrote:

> PluginASTAction would essentially require us to copy large parts of 
> CodeGenAction.cpp

Do you mean that you will need to wrap clang's `BackendConsumer` into a 
`MultiplexConsumer` and overwrite its `HandleTranslationUnit` swapping 
`BackendConsumer::HandleTranslationUnit`'s `emitBackendOutput`?

https://github.com/llvm/llvm-project/pull/165257
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to