Hacker News new | ask | show | jobs
by nappy-doo 2529 days ago
I believe LLVM toolchains also (by default) exclude debug information, which gc (go compiler) would need to be told to explicitly exclude.
2 comments

You generally need to run the code through some rewriters that, as far as I recall, drop those symbols anyways -- these CPUs can't execute an elf binary directly from flash.
As a data point, TinyGo includes the debug info by default. There is a "-no-debug" option to turn off the inclusion though.