[lld] [llvm] [lld][MachO] Follow-up to use madvise() for threaded file page-in. (PR #157917)

John Holdsworth via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 11 09:09:14 PDT 2025


================
@@ -349,13 +352,19 @@ void multiThreadedPageInBackground(DeferredFiles &deferred) {
       return;
 #ifndef NDEBUG
     totalBytes += buff.size();
-    numDeferedFilesTouched += 1;
+    numDeferedFilesAdvised += 1;
 #endif
 
+#if _WIN32
----------------
johnno1962 wrote:

I missed this as it was only showing in the diffs and replied under another comment.

https://github.com/llvm/llvm-project/pull/157917


More information about the llvm-commits mailing list