File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ impl Environment for LinuxEnvironment {
14
14
Utf8PathBuf :: from ( "/checkout" )
15
15
}
16
16
17
- fn downloaded_llvm_dir ( & self ) -> Utf8PathBuf {
17
+ fn host_llvm_dir ( & self ) -> Utf8PathBuf {
18
18
Utf8PathBuf :: from ( "/rustroot" )
19
19
}
20
20
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ pub trait Environment {
15
15
/// The rustc checkout, where the compiler source is located.
16
16
fn checkout_path ( & self ) -> Utf8PathBuf ;
17
17
18
- /// Path to the downloaded host LLVM.
19
- fn downloaded_llvm_dir ( & self ) -> Utf8PathBuf ;
18
+ /// Path to the host LLVM used to compile LLVM in `src/llvm-project` .
19
+ fn host_llvm_dir ( & self ) -> Utf8PathBuf ;
20
20
21
21
/// Directory where the optimization artifacts (PGO/BOLT profiles, etc.)
22
22
/// will be stored.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ impl Environment for WindowsEnvironment {
24
24
self . checkout_dir . clone ( )
25
25
}
26
26
27
- fn downloaded_llvm_dir ( & self ) -> Utf8PathBuf {
27
+ fn host_llvm_dir ( & self ) -> Utf8PathBuf {
28
28
self . checkout_path ( ) . join ( "citools" ) . join ( "clang-rust" )
29
29
}
30
30
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fn merge_llvm_profiles(
81
81
profdata : LlvmProfdata ,
82
82
) -> anyhow:: Result < ( ) > {
83
83
let llvm_profdata = match profdata {
84
- LlvmProfdata :: Host => env. downloaded_llvm_dir ( ) . join ( "bin/llvm-profdata" ) ,
84
+ LlvmProfdata :: Host => env. host_llvm_dir ( ) . join ( "bin/llvm-profdata" ) ,
85
85
LlvmProfdata :: Target => env
86
86
. build_artifacts ( )
87
87
. join ( "llvm" )
You can’t perform that action at this time.
0 commit comments