Skip to content

Commit 9518785

Browse files
committed
[llvm/CAS] More fixes for the non-LLVM_ENABLE_ONDISK_CAS build
1 parent f597993 commit 9518785

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

llvm/lib/CAS/OnDiskHashMappedTrie.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,10 @@ void OnDiskHashMappedTrie::print(
13191319
report_fatal_error("not supported");
13201320
}
13211321

1322+
size_t OnDiskHashMappedTrie::size() const {
1323+
report_fatal_error("not supported");
1324+
}
1325+
13221326
struct OnDiskDataAllocator::ImplType {};
13231327

13241328
Expected<OnDiskDataAllocator> OnDiskDataAllocator::create(
@@ -1336,6 +1340,14 @@ const char *OnDiskDataAllocator::beginData(FileOffset Offset) const {
13361340
report_fatal_error("not supported");
13371341
}
13381342

1343+
MutableArrayRef<uint8_t> OnDiskDataAllocator::getUserHeader() {
1344+
report_fatal_error("not supported");
1345+
}
1346+
1347+
size_t OnDiskDataAllocator::size() const {
1348+
report_fatal_error("not supported");
1349+
}
1350+
13391351
#endif // LLVM_ENABLE_ONDISK_CAS
13401352

13411353
OnDiskHashMappedTrie::OnDiskHashMappedTrie(std::unique_ptr<ImplType> Impl)

0 commit comments

Comments
 (0)