CosmosOS / IL2CPU

IL2CPU is a compiler for .NET IL code to compile to assembly language for direct booting.
BSD 3-Clause "New" or "Revised" License
279 stars 71 forks source link

🐛 Fix debug mLastKnownAddress path #214

Open valentinbreiz opened 8 months ago

valentinbreiz commented 8 months ago

Kind of agree but why assembly numbers was added?

quajak commented 8 months ago

Because they were added everywhere to ensure that we would not get collisions if two assemblies are called the same and have the same class. The implementation has a few unfortunate side effects since certain labels were hard-coded, like this case.

Guillermo-Santos commented 2 weeks ago

Why not replace it for something like %LastKnownAddress% and then replace it for the actual label at compile time?