Skip to content

Commit a1d7182

Browse files
committed
[DO NOT MERGE] Use default cache on macOS
Checking if this allows us to reproduce the memory issues from swiftlang/sourcekit-lsp#1541 on macOS.
1 parent 9906199 commit a1d7182

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎lib/Basic/Cache.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#if defined(__APPLE__)
14-
#include "Darwin/Cache-Mac.inc"
15-
#else
13+
//#if defined(__APPLE__)
14+
//#include "Darwin/Cache-Mac.inc"
15+
//#else
1616

1717
// This file implements a default caching implementation that never evicts
1818
// its entries.
@@ -151,4 +151,4 @@ void CacheImpl::destroy() {
151151
delete static_cast<DefaultCache*>(Impl);
152152
}
153153

154-
#endif // finish default implementation
154+
//#endif // finish default implementation

0 commit comments

Comments
 (0)