diff options
author | Teresa Johnson <tejohnson@google.com> | 2025-06-03 16:05:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 16:05:16 -0700 |
commit | 6c1091ea3fb7ab31aa9b8406cb32b9a549c4e7cd (patch) | |
tree | 94319fc6a056dab345d0c3042f5f08c38e82179c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 33fae0840562ae7e93dd7b4bc6dd4a41150eee01 (diff) | |
download | llvm-6c1091ea3fb7ab31aa9b8406cb32b9a549c4e7cd.zip llvm-6c1091ea3fb7ab31aa9b8406cb32b9a549c4e7cd.tar.gz llvm-6c1091ea3fb7ab31aa9b8406cb32b9a549c4e7cd.tar.bz2 |
Revert "[MemProf] Optionally save context size info on largest cold allocations" (#142688)
Reverts llvm/llvm-project#142507 due to buildbot failures that I will
look into tomorrow.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 105edb9..47388c2 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -8164,14 +8164,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) { ContextSizes.reserve(NumContextSizeInfoEntries); for (unsigned J = 0; J < NumContextSizeInfoEntries; J++) { assert(ContextIdIndex < PendingContextIds.size()); - // Skip any 0 entries for MIBs without the context size info. - if (PendingContextIds[ContextIdIndex] == 0) { - // The size should also be 0 if the context was 0. - assert(!Record[I]); - ContextIdIndex++; - I++; - continue; - } // PendingContextIds read from the preceding FS_ALLOC_CONTEXT_IDS // should be in the same order as the total sizes. ContextSizes.push_back( |