summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/PluginLoader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-25 06:17:51 +0000
committerChris Lattner <sabre@nondot.org>2002-07-25 06:17:51 +0000
commit10073a9080498f8ce8ad87b425d8bbb5b6536b67 (patch)
tree10569e0dce9be5b0fc6bb11e55babf9b9f2c170f /llvm/lib/Support/PluginLoader.cpp
parente680139c346e2e1e09f4574995cca1874abe7f28 (diff)
downloadbcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.tar.gz
bcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.zip
*** empty log message ***
llvm-svn: 3075
Diffstat (limited to 'llvm/lib/Support/PluginLoader.cpp')
-rw-r--r--llvm/lib/Support/PluginLoader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/PluginLoader.cpp b/llvm/lib/Support/PluginLoader.cpp
index c2e4e89813a..dce923af7f6 100644
--- a/llvm/lib/Support/PluginLoader.cpp
+++ b/llvm/lib/Support/PluginLoader.cpp
@@ -13,6 +13,7 @@
#include "Support/CommandLine.h"
#include <dlfcn.h>
#include <link.h>
+#include <iostream>
namespace {
struct PluginLoader {
@@ -25,6 +26,6 @@ namespace {
}
// This causes operator= above to be invoked for every -load option.
-static cl::opt<PluginLoader, false, cl::parser<string> >
+static cl::opt<PluginLoader, false, cl::parser<std::string> >
LoadOpt("load", cl::ZeroOrMore, cl::value_desc("plugin.so"),
cl::desc("Load the specified plugin"));
OpenPOWER on IntegriCloud