[PATCH] D141446: Fix to D139603(reverted) - moved size check to unit test so that it is cross-platform

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 16:45:13 PST 2023


huangjd created this revision.
huangjd added reviewers: davidxl, xur, kazu, ellis, gulfem, snehasish.
Herald added a subscriber: hiraditya.
Herald added a project: All.
huangjd requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

D139603 <https://reviews.llvm.org/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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141446

Files:
  llvm/include/llvm/ProfileData/SampleProfWriter.h
  llvm/lib/ProfileData/SampleProfWriter.cpp
  llvm/test/tools/llvm-profdata/output-size-limit.test
  llvm/tools/llvm-profdata/llvm-profdata.cpp
  llvm/unittests/tools/CMakeLists.txt
  llvm/unittests/tools/llvm-profdata/CMakeLists.txt
  llvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141446.488034.patch
Type: text/x-patch
Size: 22342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230111/5fffdd19/attachment-0001.bin>


More information about the llvm-commits mailing list