[all-commits] [llvm/llvm-project] 6b286d: [InstrProfiling] Use nobits as __llvm_prf_cnts sec...

Petr Hosek via All-commits all-commits at lists.llvm.org
Sat Feb 20 14:25:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b286d93f7ec8518c685a302269e44b06a0a24f3
      https://github.com/llvm/llvm-project/commit/6b286d93f7ec8518c685a302269e44b06a0a24f3
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-02-20 (Sat, 20 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    A llvm/test/Instrumentation/InstrProfiling/X86/nobits.ll

  Log Message:
  -----------
  [InstrProfiling] Use nobits as __llvm_prf_cnts section type in ELF

This can reduce the binary size because counters will no longer occupy
space in the binary, instead they will be allocated by dynamic linker.

Differential Revision: https://reviews.llvm.org/D97110




More information about the All-commits mailing list