Does the -g
(or --debug
) clang command option increase the memory footprint of the compiled application? Specifically, does it change the binary size loaded on an embedded ARM system?
Note: I know the debug build adds symbol table and some more debug information to the ELF, but this should be used by the debugger, running on the host machine (say, a PC with Eclipse). Question is if it changes the size of the loaded image.