Skip to content

Instantly share code, notes, and snippets.

@bstaletic
Last active June 29, 2018 05:59
Show Gist options
  • Save bstaletic/360197714ad7ceb6df7a14589d698e50 to your computer and use it in GitHub Desktop.
Save bstaletic/360197714ad7ceb6df7a14589d698e50 to your computer and use it in GitHub Desktop.
ycm_core size difference
$ size -A -d ycm_core.so
ycm_core.so :
section size addr
.note.gnu.build-id 36 456
.gnu.hash 1876 496
.dynsym 14328 2376
.dynstr 28268 16704
.gnu.version 1194 44972
.gnu.version_r 320 46168
.rela.dyn 12771312 46488
.rela.plt 9024 12817800
.init 23 12826824
.plt 6032 12826848
.plt.got 56 12832880
.text 810429 12832944
.fini 9 13643376
.rodata 755248 13643392
.eh_frame_hdr 15380 14398640
.eh_frame 108600 14414024
.gcc_except_table 41144 14522624
.init_array 32 16661496
.fini_array 8 16661528
.data.rel.ro 5320456 16661536
.dynamic 544 21981992
.got 680 21982536
.got.plt 3032 21983232
.data 1992 21986272
.bss 1472 21988288
.comment 36 0
Total 19891531
bash-3.2$ size -A -d ycm_core.so
ycm_core.so :
section size addr
__text 415034 9056
__stubs 1428 424090
__stub_helper 2356 425520
__gcc_except_tab 49916 427876
__cstring 736805 477792
__const 6830 1214608
__unwind_info 7348 1221440
__got 712 1228800
__nl_symbol_ptr 16 1229512
__la_symbol_ptr 1904 1229528
__mod_init_func 24 1231432
__const 5306056 1231456
__data 9712 6537520
__bss 656 6547232
__common 128 6547888
Total 6538925
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment