felixangell / kpd

an old compiler for Krug written in D - a prototype version
MIT License
44 stars 1 forks source link

mangling scheme #46

Closed felixangell closed 6 years ago

felixangell commented 6 years ago

need a proper mangling scheme that is used for code generation

felixangell commented 6 years ago

right now things are kind of half ass mangled i.e. basic blocks and their parent functions. the mangling is somewhat arbitrary also.

felixangell commented 6 years ago

this is technically done though I need to make some documentation on how the mangling scheme works and maybe some new issues for things that are unhandled by the name mangler.