Is there a map of original names to mangled names ...
# compiler
j
Is there a map of original names to mangled names produced during compilation that could be used for other bytecode tools that are not part of the kotlin compilation chain? If not, does a compiler plugin get access to the original names if its run after another plugin?
r
I'm fairly sure the name mangling happens after the IR phase, so compiler plugins have access to the original names. I haven't encountered a situation where a name I needed was mangled, at least.
j
Sounds promising. Working on a plugin now so will see. Thanks!