[llvm-dev] Communication between Clang Sema and the Clang Codegen...

11 views
Skip to first unread message

Umesh Kalappa via llvm-dev

unread,
May 30, 2017, 6:19:31 AM5/30/17
to cfe...@lists.llvm.org, LLVM Developers Mailing List
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
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Umesh Kalappa via llvm-dev

unread,
Jun 2, 2017, 9:01:20 AM6/2/17
to cfe...@lists.llvm.org, LLVM Developers Mailing List
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

Umesh Kalappa via llvm-dev

unread,
Jun 2, 2017, 9:20:08 AM6/2/17
to cfe...@lists.llvm.org, LLVM Developers Mailing List
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

Reply all
Reply to author
Forward
0 new messages