Skip to content

Commit 7f74a55

Browse files
authored
Revert "[CAS] Add MappedFileRegionArena (#114099)"
This reverts commit f9cd2ee.
1 parent 488ce6b commit 7f74a55

File tree

12 files changed

+0
-962
lines changed

12 files changed

+0
-962
lines changed

llvm/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,6 @@ option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF)
878878
option (LLVM_ENABLE_OCAMLDOC "Build OCaml bindings documentation." ON)
879879
option (LLVM_ENABLE_BINDINGS "Build bindings." ON)
880880
option (LLVM_ENABLE_TELEMETRY "Enable the telemetry library. If set to OFF, library cannot be enabled after build (eg., at runtime)" ON)
881-
option (LLVM_ENABLE_ONDISK_CAS "Build OnDiskCAS." ON)
882881

883882
set(LLVM_INSTALL_DOXYGEN_HTML_DIR "${CMAKE_INSTALL_DOCDIR}/llvm/doxygen-html"
884883
CACHE STRING "Doxygen-generated HTML documentation install directory")

llvm/include/llvm/CAS/MappedFileRegionArena.h

Lines changed: 0 additions & 130 deletions
This file was deleted.

llvm/include/llvm/Config/llvm-config.h.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,4 @@
146146
coverage bugs, and to 0 otherwise. */
147147
#cmakedefine01 LLVM_ENABLE_DEBUGLOC_TRACKING_ORIGIN
148148

149-
/* Define to 1 to enable LLVM OnDisk Content Addressable Storage */
150-
#cmakedefine01 LLVM_ENABLE_ONDISK_CAS
151-
152149
#endif

llvm/include/llvm/Support/FileSystem.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,6 @@ LLVM_ABI std::error_code copy_file(const Twine &From, int ToFD);
410410
/// platform-specific error_code.
411411
LLVM_ABI std::error_code resize_file(int FD, uint64_t Size);
412412

413-
/// Resize path to size with sparse files explicitly enabled. It uses
414-
/// FSCTL_SET_SPARSE On Windows. This is the same as resize_file on
415-
/// non-Windows
416-
LLVM_ABI std::error_code resize_file_sparse(int FD, uint64_t Size);
417-
418413
/// Resize \p FD to \p Size before mapping \a mapped_file_region::readwrite. On
419414
/// non-Windows, this calls \a resize_file(). On Windows, this is a no-op,
420415
/// since the subsequent mapping (via \c CreateFileMapping) automatically

llvm/lib/CAS/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ add_llvm_component_library(LLVMCAS
33
ActionCaches.cpp
44
BuiltinCAS.cpp
55
InMemoryCAS.cpp
6-
MappedFileRegionArena.cpp
76
ObjectStore.cpp
8-
OnDiskCommon.cpp
97

108
ADDITIONAL_HEADER_DIRS
119
${LLVM_MAIN_INCLUDE_DIR}/llvm/CAS

0 commit comments

Comments
 (0)