Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile generates a lot of linker symbols for internal objects, and we've amassed a number of ad hoc naming schemes for them. I'm concerned that there might be collisions, particularly with user-defined symbols.
We should review and probably catalog the existing symbol, and try to find a more uniform naming scheme that we can ensure is collision-free.
This may also relate to the linker rewrite. A lot of the compiler-generated symbols only have names for diagnostics purposes. In the new linker design, at least for compiler-generated symbols that aren't dupok, we can create symbols that aren't referenced by name at all.