[PATCH] D116367: [ELF][LTO] Call madvise(MADV_DONTNEED) on BitcodeFile buffers
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 29 14:00:05 PST 2021
MaskRay updated this revision to Diff 396571.
MaskRay added a comment.
Mark `lazyBitcodeFiles` as well. This should achieve the original saving.
While here, try to support other cases
- When ELF object files are significant
- Or when archives are used instead of --start-lib and many archive members are not extracted
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116367/new/
https://reviews.llvm.org/D116367
Files:
lld/ELF/Driver.cpp
lld/ELF/Driver.h
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116367.396571.patch
Type: text/x-patch
Size: 6253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211229/7ae1e8ef/attachment.bin>
More information about the llvm-commits
mailing list