Add a new variant to GlobalDecl for these so that we can detect them
more easily during debug info emission and handle them appropriately.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
Looks good to me. We are basically de-mangled name for those E initialize global’s function and F destroy global's function.
Comment Actions
Thanks!
I'm going to land this, but @rjmccall, let me know if you think this addition to GlobalDecl is a bad idea and we can take it back out.
Comment Actions
In Swift we basically shove *everything* through our corresponding linkage-entity structure, so I'm not opposed to the basic idea.
That said, it's unfortunate that this needs to be raised to the AST level. Also, you have really been contributing to this project far too long to still need to be told to add comments to the new types and functions you're adding. :)