[lld] [llvm] [LLD][COFF] Prefetch inputs early-on to improve link times (PR #169224)
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 24 03:52:55 PST 2025
================
@@ -1023,6 +1023,32 @@ void mapped_file_region::unmapImpl() {
void mapped_file_region::dontNeedImpl() {}
+void mapped_file_region::willNeedImpl() {
+#if (_WIN32_WINNT < _WIN32_WINNT_WIN8)
----------------
zmodem wrote:
Since we're dlopen'ing and rolling our own function prototype anyway below, maybe we should just define this struct unconditionally (with a name that doesn't clash with the windows header)?
https://github.com/llvm/llvm-project/pull/169224
More information about the llvm-commits
mailing list