[LLVMdev] .debug_info section size in arm executable

Seung-yeon Choe sychoe at gmail.com
Wed Nov 9 02:38:09 PST 2011


Dear all

I'd wonder why executable's debug information size is bigger than gcc dwarf debug info.

When I compiled ARM hello world code with -g option, the arm based assembly and executable files are bigger than gcc results significiantly.(apx. 3x)
(source file size was only 3KB)

I think that both clang and gcc use same dwarf format ver2 for debugging. But I don't know why the clang executable file size is bigger than gcc executable.

Could anyone explain about that?






More information about the llvm-dev mailing list