[MacPorts] #69289: MacVim @9.1.release179_0+huge: Binaries create ~/default.profraw profiling file

MacPorts noreply at macports.org
Tue Feb 6 00:24:50 UTC 2024


#69289: MacVim @9.1.release179_0+huge: Binaries create ~/default.profraw profiling
file
----------------------+--------------------
 Reporter:  neirbowj  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Low       |  Milestone:
Component:  ports     |    Version:  2.9.1
 Keywords:            |       Port:  MacVim
----------------------+--------------------
 The MacVim binary has profiling enabled, which results in the creation of
 ~/default.profraw when running the Gui component.

 During the following command I ran MacVim and exited without doing
 anything.

 {{{
 $ sudo fs_usage | grep profraw
 19:22:46  open              default.profraw
 0.000025   MacVim
 }}}

 This shows that the MacVim binary has the LLVM profiling sections present.

 {{{
 $ objdump --section-headers
 /Applications/MacPorts/MacVim.app/Contents/MacOS/MacVim | grep __llvm_prf
  30 __llvm_prf_cnts  00008610 000000010006c000 DATA
  31 __llvm_prf_data  00009930 0000000100078000 DATA
  32 __llvm_prf_names 000025e0 0000000100081930 DATA
  34 __llvm_prf_vnds  00006000 0000000100084738 DATA
 }}}


 By comparison:

 {{{
 $ objdump --section-headers
 /Applications/MacPorts/MacVim.app/Contents/MacOS/Vim | grep __llvm_prf
 # no output
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69289>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list