File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -592,12 +592,20 @@ impl Build {
592
592
Path :: new ( llvm_bindir. trim ( ) ) . join ( exe ( "FileCheck" , & * target) )
593
593
} else {
594
594
let base = self . llvm_out ( self . config . build ) . join ( "build" ) ;
595
- let exe = exe ( "FileCheck" , & * target) ;
596
- if !self . config . ninja && self . config . build . contains ( "msvc" ) {
597
- base. join ( "Release/bin" ) . join ( exe)
595
+ let base = if !self . config . ninja && self . config . build . contains ( "msvc" ) {
596
+ if self . config . llvm_optimize {
597
+ if self . config . llvm_release_debuginfo {
598
+ base. join ( "RelWithDebInfo" )
599
+ } else {
600
+ base. join ( "Release" )
601
+ }
602
+ } else {
603
+ base. join ( "Debug" )
604
+ }
598
605
} else {
599
- base. join ( "bin" ) . join ( exe)
600
- }
606
+ base
607
+ } ;
608
+ base. join ( "bin" ) . join ( exe ( "FileCheck" , & * target) )
601
609
}
602
610
}
603
611
You can’t perform that action at this time.
0 commit comments