On Sunday, 24 October 2021 at 11:33:51 UTC, Basile B. wrote:
Once thing I notice is that there does not seem to be a way to generate debug info. You really should support them (LLVM C api has a whole header with everything you need to achieve that), because not only this allows to debug the compiler more easily but also can be used to easily instrument code in a generic way. With debug info, you can of course debug but also profile (valgrind --tool=calgrind), find leaks (valgrind), cover (kcov), etc.

Oh yeah, this. Needs to happen, yes. I'm not much of a debugger guy myself having never used a debugger in my entire life so that side would be just for others but the other benefits attract me too. Thanks for bringing them up.

Reply via email to