aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-01-26 18:36:50 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-01-26 18:36:50 +0000
commit4b934766bde8989b4eeb3f4a1cc222327e262379 (patch)
treea0786bf98fd63dd5742b3476b33bc776caeca30f /include/llvm/Support
parentc20dee356650a2f91533be5e36526f9774e0a1f8 (diff)
downloadexternal_llvm-4b934766bde8989b4eeb3f4a1cc222327e262379.zip
external_llvm-4b934766bde8989b4eeb3f4a1cc222327e262379.tar.gz
external_llvm-4b934766bde8989b4eeb3f4a1cc222327e262379.tar.bz2
Remember plugins should someone like bugpoint want to know them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/PluginLoader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/PluginLoader.h b/include/llvm/Support/PluginLoader.h
index 74e5a03..7789ae8 100644
--- a/include/llvm/Support/PluginLoader.h
+++ b/include/llvm/Support/PluginLoader.h
@@ -22,6 +22,8 @@
namespace llvm {
struct PluginLoader {
void operator=(const std::string &Filename);
+ static unsigned getNumPlugins();
+ static std::string& getPlugin(unsigned num);
};
#ifndef DONT_GET_PLUGIN_LOADER_OPTION