Files
carbon-lang/third_party/llvm
Chandler Carruth 5d0d443c98 Move the :install_paths library to //toolchain/base (#6457)
Previously this was kept in `//toolchain/install` so it would be near to
the code that actually defines the installation layout. However, that
creates somewhat unfortunate dependency cycles between
`//toolchain/install` and other directories. Exacerbating this, a
subsequent PR is likely to add dependencies on it from
`//toolchain/base` itself that suggests that is the correct layering.

This PR just moves the code mechanically with as few other edits as
possible.
2025-12-03 17:14:34 +00:00
..

Extracted LLVM code

This directory holds code extracted from the LLVM project and used in various places in Carbon. This mostly happens when some logic isn't readily exposed in a library-suitable API, or needs excessive customization.

We separate the baseline code and customizations here as these are really derived from the LLVM project. However, both Carbon and LLVM use the same license, so linking these isn't a problem. We also use the standard Carbon banner at the top of these files as the license is accurate and the collection and arrangement of the code are part of Carbon. The code itself should be assumed to be derived from LLVM.

Whenever possible, we should eventually refactor the upstream code until the logic can be exposed and then we can depend on it rather than extracting it here.