[all-commits] [llvm/llvm-project] 79971d: [llvm-profdata] Add option to cap profile output size

William Junda Huang via All-commits all-commits at lists.llvm.org
Wed Feb 8 14:22:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79971d0d771a273eaf13697c3a2e55fc0194bc09
      https://github.com/llvm/llvm-project/commit/79971d0d771a273eaf13697c3a2e55fc0194bc09
  Author: William Huang <williamjhuang at google.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProf.h
    M llvm/include/llvm/ProfileData/SampleProfWriter.h
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    M llvm/tools/llvm-profdata/llvm-profdata.cpp
    M llvm/unittests/tools/CMakeLists.txt
    A llvm/unittests/tools/llvm-profdata/CMakeLists.txt
    A llvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp

  Log Message:
  -----------
  [llvm-profdata] Add option to cap profile output size

D139603 (add option to llvm-profdata to reduce output profile size) contains test cases that are not cross-platform. Moving those tests to unit test and making sure the feature is callable from llvm library

Reviewed By: snehasish

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




More information about the All-commits mailing list