[all-commits] [llvm/llvm-project] c268f8: Fix to D139603(reverted) - moved size check to uni...

William Junda Huang via All-commits all-commits at lists.llvm.org
Wed Jan 11 16:42:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c268f850a2998eb5370c07c74d7d0756dcc851c9
      https://github.com/llvm/llvm-project/commit/c268f850a2998eb5370c07c74d7d0756dcc851c9
  Author: William Huang <williamjhuang at google.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProfWriter.h
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    A llvm/test/tools/llvm-profdata/output-size-limit.test
    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:
  -----------
  Fix to D139603(reverted) - moved size check to unit test so that it is cross-platform

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