[PATCH] D144181: [clang][DebugInfo] Add abi-tags on constructors/destructors as LLVM annotations

Michael Buch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 16 05:37:38 PST 2023


Michael137 added a comment.

Left is without patch. Right is with patch.

  ----------------------------------------------------                  ----------------------------------------------------                 
  file: bin/lldb.dSYM/Contents/Resources/DWARF/lldb                     file: bin/lldb.dSYM/Contents/Resources/DWARF/lldb                    
  ----------------------------------------------------                  ----------------------------------------------------                 
  SECTION           SIZE (b)                                            SECTION           SIZE (b)                                           
  ----------------  --------                                            ----------------  --------                                           
  __debug_line       1168840 (6.21%)                                    __debug_line       1168840 (6.18%)                                   
  __debug_info       6102802 (32.40%)                                   __debug_info       6196012 (32.73%)                                  
  __debug_ranges       11760 (0.06%)                                    __debug_ranges       11760 (0.06%)                                   
  __debug_aranges       3360 (0.02%)                                    __debug_aranges       3360 (0.02%)                                   
  __debug_loc            412 (0.00%)                                    __debug_loc            412 (0.00%)                                   
  __debug_abbrev        8419 (0.04%)                                    __debug_abbrev        8431 (0.04%)                                   
  __debug_str        7762681 (41.21%)                                   __debug_str        7762697 (41.01%)                                  
  __apple_names       654916 (3.48%)                                    __apple_names       654916 (3.46%)                                   
  __apple_namespac     22936 (0.12%)                                    __apple_namespac     22936 (0.12%)                                   
  __apple_types      1185783 (6.30%)                                    __apple_types      1185783 (6.26%)                                   
  __apple_objc            36 (0.00%)                                    __apple_objc            36 (0.00%)                                   
                                                                                                                                             
   Total Size: 16921945  (89.84%)                                        Total Size: 17015183  (89.89%)                                      
   Total File Size: 18834777                                             Total File Size: 18928015                                           
  ----------------------------------------------------                  ----------------------------------------------------                 
                                                                                                                                             
  ----------------------------------------------------                  ----------------------------------------------------                 
  file: lib/libc++.1.dylib.dSYM/Contents/Resources/DWARF/libc++.1.dylib file: lib/libc++.1.dylib.dSYM/Contents/Resources/DWARF/libc++.1.dylib
  ----------------------------------------------------                  ----------------------------------------------------                 
  SECTION           SIZE (b)                                            SECTION           SIZE (b)                                           
  ----------------  --------                                            ----------------  --------                                           
  __debug_line        497612 (12.53%)                                   __debug_line        497612 (12.49%)                                  
  __debug_aranges       2032 (0.05%)                                    __debug_aranges       2032 (0.05%)                                   
  __debug_info       1353725 (34.09%)                                   __debug_info       1366516 (34.30%)                                  
  __debug_ranges       10544 (0.27%)                                    __debug_ranges       10544 (0.26%)                                   
  __debug_loc            515 (0.01%)                                    __debug_loc            515 (0.01%)                                   
  __debug_abbrev        5177 (0.13%)                                    __debug_abbrev        5189 (0.13%)                                   
  __debug_str        1084612 (27.31%)                                   __debug_str        1084628 (27.22%)                                  
  __apple_names       250484 (6.31%)                                    __apple_names       250484 (6.29%)                                   
  __apple_namespac      1476 (0.04%)                                    __apple_namespac      1476 (0.04%)                                   
  __apple_types        81090 (2.04%)                                    __apple_types        81090 (2.04%)                                   
  __apple_objc            36 (0.00%)                                    __apple_objc            36 (0.00%)                                   
                                                                                                                                             
   Total Size: 3287303  (82.78%)                                         Total Size: 3300122  (82.83%)                                       
   Total File Size: 3971335                                              Total File Size: 3984154                                            
  ----------------------------------------------------                  ----------------------------------------------------                 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144181/new/

https://reviews.llvm.org/D144181



More information about the cfe-commits mailing list