[PATCH] Allow using external builds of the compiler-rt profile lib
authorJosh Stone <jistone@redhat.com>
Tue, 25 Jul 2023 20:11:50 +0000 (13:11 -0700)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Fri, 17 May 2024 06:38:11 +0000 (08:38 +0200)
commit3157f837d702f8aa100b027adb2e154ccf73d85c
treef2c147dea9e31de5aecdba0392e6e742c76cdf26
parentcd0f006920633d7211bda73aca55e1b6a09a31fa
[PATCH] Allow using external builds of the compiler-rt profile lib

This changes the bootstrap config `target.*.profiler` from a plain bool
to also allow a string, which will be used as a path to the pre-built
profiling runtime for that target. Then `profiler_builtins/build.rs`
reads that in a `LLVM_PROFILER_RT_LIB` environment variable.

Gbp-Pq: Name u-profiler.patch
config.example.toml
library/profiler_builtins/build.rs
src/bootstrap/compile.rs
src/bootstrap/config.rs