Loads shared-object plugins into a tool via the -load option.
Declared in <llvm/Support/PluginLoader.h>
struct PluginLoader;
Used as the value type of a cl::opt so each -load argument invokes operator= to load the named plugin. This header may be included only once per program and is not for use by library authors.
| Name | Description |
|---|---|
operator= | Load the shared library named Filename into the process. |
| Name | Description |
|---|---|
getNumPlugins | Return the number of plugins successfully loaded. |
getPlugin | Return the path of the loaded plugin at index num. |