Umesh Kalappa via llvm-dev
2017-May-30 10:18 UTC
[llvm-dev] Communication between Clang Sema and the Clang Codegen...
Hi All, We have populated info in the Clang Sema i.e class Sema (include/clang/Sema/Sema.h) and like to propagate the same to Clang Codegen . Currently we are propagating through ASTContext ,where we have duplicating fields info and operation in the Sema and ASTContext . Any better way of doing the same ? Thank you ~Umesh
Umesh Kalappa via llvm-dev
2017-Jun-02 13:00 UTC
[llvm-dev] Communication between Clang Sema and the Clang Codegen...
Hi All, My bad for not been specific in question . Do we have anyway to access the CodeGenModule instance from any Sema method ??? Thank you ~Umesh On Tue, May 30, 2017 at 3:48 PM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote:> Hi All, > > We have populated info in the Clang Sema i.e class Sema > (include/clang/Sema/Sema.h) and like to propagate the same to Clang > Codegen . > > Currently we are propagating through ASTContext ,where we have > duplicating fields info and operation in the Sema and ASTContext . > > Any better way of doing the same ? > > Thank you > ~Umesh
Umesh Kalappa via llvm-dev
2017-Jun-02 13:20 UTC
[llvm-dev] Communication between Clang Sema and the Clang Codegen...
Hi All, What we are trying is that, we change the IdentifierInfo of the NamedDecl instance from the Sema::HandleDeclarator and we need to communicate changed info like "foo" changed "bar" to the IR builder (CodeGen), any inputs /suggestions for same? ~Umesh On Fri, Jun 2, 2017 at 6:30 PM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote:> Hi All, > > My bad for not been specific in question . > > Do we have anyway to access the CodeGenModule instance from any Sema method ??? > > Thank you > ~Umesh > > > On Tue, May 30, 2017 at 3:48 PM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote: >> Hi All, >> >> We have populated info in the Clang Sema i.e class Sema >> (include/clang/Sema/Sema.h) and like to propagate the same to Clang >> Codegen . >> >> Currently we are propagating through ASTContext ,where we have >> duplicating fields info and operation in the Sema and ASTContext . >> >> Any better way of doing the same ? >> >> Thank you >> ~Umesh