![]() 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. |
||
---|---|---|
.. | ||
ar.go | ||
build.go | ||
buildcache.go | ||
builtins.go | ||
cc.go | ||
cc1as.cpp | ||
cc1as.h | ||
cc_test.go | ||
clang.cpp | ||
commands.go | ||
config.go | ||
elfpatch.go | ||
env.go | ||
error.go | ||
esp.go | ||
jobs.go | ||
library.go | ||
lld.cpp | ||
nrfutil.go | ||
objcopy.go | ||
picolibc.go | ||
sizes.go | ||
tools-builtin.go | ||
tools-external.go | ||
tools.go | ||
uf2.go |