aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2025-10-22 07:30:43 -0700
committerGitHub <noreply@github.com>2025-10-22 07:30:43 -0700
commiteb74d8e03cef0bb29bccf221f5ea565e47d7ab26 (patch)
treee323ac29b8982053569ed74bdb96a5d3c8689965 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7ae7a5ad51f32118161ee0aaa13b11368aa5d29b (diff)
downloadllvm-eb74d8e03cef0bb29bccf221f5ea565e47d7ab26.zip
llvm-eb74d8e03cef0bb29bccf221f5ea565e47d7ab26.tar.gz
llvm-eb74d8e03cef0bb29bccf221f5ea565e47d7ab26.tar.bz2
[ThinLTO] Add index flag for internalization/promotion status (#164530)
Add an index-wide flag indicating whether index-based internalization and promotion have completed. This will be used in a follow on change.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index cf7efbfa..466dcb0 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -8603,7 +8603,7 @@ getEnableSplitLTOUnitAndUnifiedFlag(BitstreamCursor &Stream,
case bitc::FS_FLAGS: { // [flags]
uint64_t Flags = Record[0];
// Scan flags.
- assert(Flags <= 0x2ff && "Unexpected bits in flag");
+ assert(Flags <= 0x7ff && "Unexpected bits in flag");
bool EnableSplitLTOUnit = Flags & 0x8;
bool UnifiedLTO = Flags & 0x200;