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

Douglas Yung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 22:28:01 PST 2023


dyung added a comment.

We are also seeing an assertion failure in the added unit test on our internal Windows builder similar to what this bot is hitting:

https://lab.llvm.org/buildbot/#/builders/231/builds/7174

  [ RUN      ] TestOutputSizeLimit.TestOutputSizeLimit1
  LLVMProfdataTests: /home/buildbots/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/lib/ProfileData/SampleProfWriter.cpp:85: virtual void llvm::sampleprof::DefaultFunctionPruningStrategy::Erase(size_t): Assertion `NumToRemove <= SortedFunctions.size()' failed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141446/new/

https://reviews.llvm.org/D141446



More information about the llvm-commits mailing list