]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #107591 - krasimirgg:llvm-17-pgoopts, r=cuviper
authorbors <bors@rust-lang.org>
Sat, 4 Feb 2023 03:41:57 +0000 (03:41 +0000)
committerbors <bors@rust-lang.org>
Sat, 4 Feb 2023 03:41:57 +0000 (03:41 +0000)
llvm-wrapper: adapt for LLVM API changes

Adapts the wrapper for https://github.com/llvm/llvm-project/commit/516e301752560311d2cd8c2b549493eb0f98d01b, where the constructor of PGOOptions gained a new FileSystem argument. Adapted to use the real file system, similarly to the changes inside of LLVM:
https://github.com/llvm/llvm-project/commit/516e301752560311d2cd8c2b549493eb0f98d01b#diff-f409934ba27ad86494f3012324e9a3995b56e0743609ded7a387ba62bbf5edb0R236

Found via our experimental Rust + LLVM at HEAD bot: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/16853#01860e2e-5eba-4f07-8359-0325913ff410/219-517


Trivial merge