1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-xray
Reid Kleckner 12eb282f10 [Support] Move llvm::MemoryBuffer to sys::fs::file_t
Summary:
On Windows, Posix integer file descriptors are a compatibility layer
over native file handles provided by the C runtime. There is a hard
limit on the maximum number of file descriptors that a process can open,
and the limit is 8192. LLD typically doesn't run into this limit because
it opens input files, maps them into memory, and then immediately closes
the file descriptor. This prevents it from running out of FDs.

For various reasons, I'd like to open handles to every input file and
keep them open during linking. That requires migrating MemoryBuffer over
to taking open native file handles instead of integer FDs.

Reviewers: aganea, Bigcheese

Reviewed By: aganea

Subscribers: smeenai, silvas, mehdi_amini, hiraditya, steven_wu, dexonsmith, dang, llvm-commits, zturner

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63453

llvm-svn: 365588
2019-07-10 00:34:13 +00:00
..
CMakeLists.txt Break false dependencies on target libraries 2019-05-23 23:02:56 +00:00
func-id-helper.cpp [DebugInfo] add SectionedAddress to DebugInfo interfaces. 2019-02-27 13:17:36 +00:00
func-id-helper.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm-xray.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
trie-node.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-account.cpp Symbolize: Replace the Options constructor with in-class initialization. NFCI. 2019-06-11 02:31:54 +00:00
xray-account.h [xray] Remove usage of procid_t 2019-06-26 15:42:42 +00:00
xray-color-helper.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-color-helper.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-converter.cpp Symbolize: Replace the Options constructor with in-class initialization. NFCI. 2019-06-11 02:31:54 +00:00
xray-converter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-extract.cpp Symbolize: Replace the Options constructor with in-class initialization. NFCI. 2019-06-11 02:31:54 +00:00
xray-fdr-dump.cpp [Support] Move llvm::MemoryBuffer to sys::fs::file_t 2019-07-10 00:34:13 +00:00
xray-graph-diff.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-graph-diff.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-graph.cpp Symbolize: Replace the Options constructor with in-class initialization. NFCI. 2019-06-11 02:31:54 +00:00
xray-graph.h [xray] Remove usage of procid_t 2019-06-26 15:42:42 +00:00
xray-registry.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-registry.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
xray-stacks.cpp Simplify std::lower_bound with llvm::{bsearch,lower_bound}. NFC 2019-06-21 05:40:31 +00:00