Update LLVM to a recent commit (#6599)

This brings some fixes:
- The handling of `zlib` and `zstd` are much cleaner
- Three of our patches are no longer needed

This also includes the fixes from #6562

It also moves us from `zlib` to `zlib-ng` which is a much better basis
for what we want, and likely makes our toolchain faster when generating
debug info at least.

It fixes another API change in terms of which headers provide the
`createInvocation` we use.

Lastly, it cleans up the deps test to correctly recognize the wrappers
for `zlib-ng` and `zstd`, as well as improving the documentation for why
we allow dependencies on them.
This commit is contained in:
Chandler Carruth
2026-01-14 21:58:48 +00:00
committed by GitHub
parent e78af4d745
commit 9861c31476
15 changed files with 32 additions and 164 deletions
+1 -1
View File
@@ -1163,7 +1163,7 @@ auto CompileSubcommand::Run(DriverEnv& driver_env) -> DriverResult {
unit->SetMultiUnitCache(&cache);
}
auto on_exit = llvm::make_scope_exit([&]() {
auto on_exit = llvm::scope_exit([&]() {
// Finish compilation units. This flushes their diagnostics in the order in
// which they were specified on the command line.
for (auto& unit : units) {