mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
Don't search for module resources at all if the setting is set to "false".
llvm-svn: 215936
This commit is contained in:
@@ -1133,9 +1133,10 @@ ModuleList::LoadScriptingResourcesInTarget (Target *target,
|
||||
module->GetFileSpec().GetFileNameStrippingExtension().GetCString(),
|
||||
error.AsCString());
|
||||
errors.push_back(error);
|
||||
|
||||
if (!continue_on_error)
|
||||
return false;
|
||||
}
|
||||
if (!continue_on_error)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user