From: minglotus-6 Date: Tue, 15 Feb 2022 07:18:18 +0000 (-0800) Subject: [ProfData] Change type of options from int to uint64_t. X-Git-Tag: upstream/15.0.7~16369 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3940f1e2372c69e04f50f86bcfc1182a1549ec32;p=platform%2Fupstream%2Fllvm.git [ProfData] Change type of options from int to uint64_t. - Reader uses option values to override uint64_t values. Differential Revision: https://reviews.llvm.org/D119810 --- diff --git a/llvm/lib/ProfileData/ProfileSummaryBuilder.cpp b/llvm/lib/ProfileData/ProfileSummaryBuilder.cpp index 8ec26b0..7fce2e2 100644 --- a/llvm/lib/ProfileData/ProfileSummaryBuilder.cpp +++ b/llvm/lib/ProfileData/ProfileSummaryBuilder.cpp @@ -59,12 +59,12 @@ cl::opt ProfileSummaryLargeWorkingSetSizeThreshold( // The next two options override the counts derived from summary computation and // are useful for debugging purposes. -cl::opt ProfileSummaryHotCount( +cl::opt ProfileSummaryHotCount( "profile-summary-hot-count", cl::ReallyHidden, cl::ZeroOrMore, cl::desc("A fixed hot count that overrides the count derived from" " profile-summary-cutoff-hot")); -cl::opt ProfileSummaryColdCount( +cl::opt ProfileSummaryColdCount( "profile-summary-cold-count", cl::ReallyHidden, cl::ZeroOrMore, cl::desc("A fixed cold count that overrides the count derived from" " profile-summary-cutoff-cold"));