yaxunl added a comment.

It is a little concerning how far the global address will spread further. 
Compared to handling user-defined global variables, we keep the global address 
to its definition in the IR and any use of it will use the generic pointer 
addrcasted from its definition. This simplifies things a lot since the AST is 
not aware of the global address. Should we reconsider the handling of type id 
and type info here with a similar approach to how the user-defined global 
variables are handled? Or we are confident that the effect of global address 
can be confined.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157452/new/

https://reviews.llvm.org/D157452

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to