Michael137 wrote: > size report sounds generally OK - but there's a bunch of what look like > unrelated or strange results in there, perhaps they weren't compared at > exactly the same version? (like why did the apple_names size go down? How did > the .text and .debuG_line size change at all? )
Yea I was confused about that too. Might've mixed up commits of the control build. Did measurements again and here's what I got: ``` $ bloaty `find ./patched-build/lib -name *.o ` │ $ bloaty `find ./no-patch-build/lib -name *.o ` FILE SIZE VM SIZE │ FILE SIZE VM SIZE -------------- -------------- │ -------------- -------------- 54.6% 2.02Gi 60.3% 2.02Gi ,__debug_str │ 54.5% 2.01Gi 60.3% 2.01Gi ,__debug_str 22.0% 834Mi 24.3% 834Mi ,__debug_info │ 22.1% 833Mi 24.4% 833Mi ,__debug_info 6.2% 236Mi 0.0% 0 String Table │ 6.2% 236Mi 0.0% 0 String Table 4.5% 170Mi 5.0% 170Mi ,__text │ 4.5% 170Mi 5.0% 170Mi ,__text 2.6% 97.6Mi 2.8% 97.6Mi ,__debug_line │ 2.6% 98.6Mi 2.9% 98.6Mi ,__debug_line 2.3% 88.0Mi 2.6% 88.0Mi ,__apple_types │ 2.3% 88.0Mi 2.6% 88.0Mi ,__apple_types 2.2% 83.1Mi 2.4% 83.1Mi ,__apple_names │ 2.2% 81.8Mi 0.0% 0 [Unmapped] 2.2% 81.8Mi 0.0% 0 [Unmapped] │ 2.1% 77.8Mi 2.3% 77.8Mi ,__apple_names 1.7% 65.6Mi 1.9% 65.6Mi ,__compact_unwind │ 1.7% 65.6Mi 1.9% 65.6Mi ,__compact_unwind 1.0% 39.2Mi 0.0% 0 Symbol Table │ 1.0% 39.2Mi 0.0% 0 Symbol Table 0.2% 8.05Mi 0.2% 8.05Mi ,__const │ 0.2% 8.05Mi 0.2% 8.05Mi ,__const 0.2% 7.91Mi 0.2% 7.91Mi ,__cstring │ 0.2% 7.92Mi 0.2% 7.92Mi ,__cstring 0.1% 5.05Mi 0.1% 5.05Mi ,__debug_abbrev │ 0.1% 5.22Mi 0.2% 5.22Mi ,__debug_abbrev 0.1% 2.31Mi 0.0% 0 [Mach-O Headers] │ 0.1% 2.31Mi 0.0% 0 [Mach-O Headers] 0.0% 1.38Mi 0.0% 1.38Mi ,__debug_ranges │ 0.0% 1.38Mi 0.0% 1.38Mi ,__debug_ranges 0.0% 994Ki 0.0% 994Ki ,__apple_namespac │ 0.0% 994Ki 0.0% 994Ki ,__apple_namespac 0.0% 0 0.0% 354Ki ,__bss │ 0.0% 0 0.0% 354Ki ,__bss 0.0% 324Ki 0.0% 324Ki ,__data │ 0.0% 324Ki 0.0% 324Ki ,__data 0.0% 283Ki 0.0% 283Ki ,__StaticInit │ 0.0% 283Ki 0.0% 283Ki ,__StaticInit 0.0% 31.3Ki 0.0% 61.4Ki [10 Others] │ 0.0% 31.3Ki 0.0% 61.4Ki [10 Others] 0.0% 58.6Ki 0.0% 58.6Ki ,__apple_objc │ 0.0% 58.6Ki 0.0% 58.6Ki ,__apple_objc 100.0% 3.70Gi 100.0% 3.35Gi TOTAL │ 100.0% 3.69Gi 100.0% 3.34Gi TOTAL ``` Section breakdown is still similar https://github.com/llvm/llvm-project/pull/70639 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits