| commit | a11a4324bb27c01e7a005e1a7f49fb8284098e8c | [log] [tgz] |
|---|---|---|
| author | Jan Svoboda <jan_svoboda@apple.com> | Fri Apr 12 10:34:42 2024 -0700 |
| committer | GitHub <noreply@github.com> | Fri Apr 12 10:34:42 2024 -0700 |
| tree | 2276e865f0b136efc64e0c326668113f349e83be | |
| parent | c11976f525f3b9b9dc6080f0b23d2ef1ec5fe8fd [diff] |
[clang][deps] Cache `VFS::getRealPath()` (#68645) This PR starts caching calls to `DependencyScanningWorkerFilesystem::getRealPath()` that we use whenever we canonicalize module map path. In the case of the real VFS, this functions performs an expensive syscall that we'd like to do as rarely as possible. This PR keeps the real path out of `CachedFileSystemEntry`, since that's **immutable**; populating the real path on creation of this data structure (every stat/open) would be expensive.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.