14 #define DONT_GET_PLUGIN_LOADER_OPTION
30 errs() <<
"Error opening '" << Filename <<
"': " << Error
31 <<
"\n -load request ignored.\n";
45 "Asking for an out of bounds plugin");
raw_ostream & errs()
This returns a reference to a raw_ostream for standard error.
void operator=(const std::string &Filename)
static ManagedStatic< sys::SmartMutex< true > > PluginsLock
static bool LoadLibraryPermanently(const char *Filename, std::string *ErrMsg=nullptr)
This function permanently loads the dynamic library at the given path.
static unsigned getNumPlugins()
static ManagedStatic< std::vector< std::string > > Plugins
static std::string & getPlugin(unsigned num)
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...