Skip to content

Commit c1f3621

Browse files
committed
[llvm][cas] Fix the build with -DLLVM_ENABLE_ONDISK_CAS=0
After a35c7dc I missed some code that is only used without LLVM_ENABLE_ONDISK_CAS, such as on Windows. (cherry picked from commit 549dfe9)
1 parent 3de9b39 commit c1f3621

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/CAS/OnDiskHashMappedTrie.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,6 +1618,7 @@ OnDiskHashMappedTrie::create(const Twine &PathTwine, const Twine &TrieNameTwine,
16181618
size_t NumHashBits, uint64_t DataSize,
16191619
uint64_t MaxFileSize,
16201620
std::optional<uint64_t> NewFileInitialSize,
1621+
std::shared_ptr<OnDiskCASLogger> Logger,
16211622
std::optional<size_t> NewTableNumRootBits,
16221623
std::optional<size_t> NewTableNumSubtrieBits) {
16231624
report_fatal_error("not supported");
@@ -1668,6 +1669,7 @@ struct OnDiskDataAllocator::ImplType {};
16681669
Expected<OnDiskDataAllocator> OnDiskDataAllocator::create(
16691670
const Twine &Path, const Twine &TableName, uint64_t MaxFileSize,
16701671
std::optional<uint64_t> NewFileInitialSize, uint32_t UserHeaderSize,
1672+
std::shared_ptr<OnDiskCASLogger> Logger,
16711673
function_ref<void(void *)> UserHeaderInit) {
16721674
report_fatal_error("not supported");
16731675
}

0 commit comments

Comments
 (0)