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.
1 parent 251831e commit 693c631Copy full SHA for 693c631
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