We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5197ef6 + 693c631 commit 1e0df88Copy full SHA for 1e0df88
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -800,7 +800,7 @@ LLVMRustOptimize(
800
auto Plugin = PassPlugin::Load(PluginPath.str());
801
if (!Plugin) {
802
LLVMRustSetLastError(("Failed to load pass plugin" + PluginPath.str()).c_str());
803
- continue;
+ return LLVMRustResult::Failure;
804
}
805
Plugin->registerPassBuilderCallbacks(PB);
806
0 commit comments