aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/Internalize.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-22 20:27:13 +0000
committerChris Lattner <sabre@nondot.org>2003-05-22 20:27:13 +0000
commit88c7c3295d936c807bc03ff4fd9da4691084f5d8 (patch)
tree9e974f30d28382cfc8c893cc289e6dd8ff3b6ebe /lib/Transforms/IPO/Internalize.cpp
parent72fb8e50820f6fcccae3a63935653ccd7b9ecf84 (diff)
Make the list accept comma separated names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Internalize.cpp')
-rw-r--r--lib/Transforms/IPO/Internalize.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Internalize.cpp b/lib/Transforms/IPO/Internalize.cpp
index aa238c33bf..ec28ecf81d 100644
--- a/lib/Transforms/IPO/Internalize.cpp
+++ b/lib/Transforms/IPO/Internalize.cpp
@@ -27,7 +27,8 @@ namespace {
// APIList - A list of symbols that should not be marked internal.
cl::list<std::string>
APIList("internalize-public-api-list", cl::value_desc("list"),
- cl::desc("A list of symbol names to preserve"));
+ cl::desc("A list of symbol names to preserve"),
+ cl::CommaSeparated);
class InternalizePass : public Pass {
std::set<std::string> ExternalNames;