![]() Stripping debug information at link time also allows relocation compression (aka linker relaxations). Keeping debug information at compile time and optionally stripping it at link time has some advantages: * Automatic stack sizes on Cortex-M rely on the presence of debug information. * Some parts of the compiler now rely on the presence of debug information for proper diagnostics. * It works better with the cache: there is no distinction between debug and no-debug builds. * It makes it easier (or possible at all) to enable debug information in the wasi-libc library without big downsides. |
||
---|---|---|
.. | ||
config.go | ||
options.go | ||
options_test.go | ||
target.go | ||
target_test.go |