@@ -1385,7 +1385,7 @@ pub fn make_test_description<R: Read>(
1385
1385
decision ! ( cfg:: handle_ignore( config, ln) ) ;
1386
1386
decision ! ( cfg:: handle_only( config, ln) ) ;
1387
1387
decision ! ( needs:: handle_needs( & cache. needs, config, ln) ) ;
1388
- decision ! ( ignore_llvm( config, ln) ) ;
1388
+ decision ! ( ignore_llvm( config, path , ln) ) ;
1389
1389
decision ! ( ignore_cdb( config, ln) ) ;
1390
1390
decision ! ( ignore_gdb( config, ln) ) ;
1391
1391
decision ! ( ignore_lldb( config, ln) ) ;
@@ -1525,7 +1525,7 @@ fn ignore_lldb(config: &Config, line: &str) -> IgnoreDecision {
1525
1525
IgnoreDecision :: Continue
1526
1526
}
1527
1527
1528
- fn ignore_llvm ( config : & Config , line : & str ) -> IgnoreDecision {
1528
+ fn ignore_llvm ( config : & Config , path : & Path , line : & str ) -> IgnoreDecision {
1529
1529
if let Some ( needed_components) =
1530
1530
config. parse_name_value_directive ( line, "needs-llvm-components" )
1531
1531
{
@@ -1536,8 +1536,9 @@ fn ignore_llvm(config: &Config, line: &str) -> IgnoreDecision {
1536
1536
{
1537
1537
if env:: var_os ( "COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS" ) . is_some ( ) {
1538
1538
panic ! (
1539
- "missing LLVM component {}, and COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS is set" ,
1540
- missing_component
1539
+ "missing LLVM component {}, and COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS is set: {}" ,
1540
+ missing_component,
1541
+ path. display( )
1541
1542
) ;
1542
1543
}
1543
1544
return IgnoreDecision :: Ignore {
0 commit comments