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
rnett
04/06/2021, 7:05 PM
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
Justin Tullgren
04/06/2021, 7:07 PM
Sounds promising. Working on a plugin now so will see. Thanks!