aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CompilerDriver/Main.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-10-17 20:09:29 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-10-17 20:09:29 +0000
commit867f67301b7c35135d04e437eb186f5a4e6b9826 (patch)
treea00a746e8e85e77aa5ec18f4c5c94b3e02667d1f /llvm/lib/CompilerDriver/Main.cpp
parentac90b38c48414b1d2a932d60271410db18aa7ca6 (diff)
downloadllvm-867f67301b7c35135d04e437eb186f5a4e6b9826.zip
llvm-867f67301b7c35135d04e437eb186f5a4e6b9826.tar.gz
llvm-867f67301b7c35135d04e437eb186f5a4e6b9826.tar.bz2
First draft of the OptionPreprocessor.
More to follow... llvm-svn: 84352
Diffstat (limited to 'llvm/lib/CompilerDriver/Main.cpp')
-rw-r--r--llvm/lib/CompilerDriver/Main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CompilerDriver/Main.cpp b/llvm/lib/CompilerDriver/Main.cpp
index 3e1fc9f..c581809 100644
--- a/llvm/lib/CompilerDriver/Main.cpp
+++ b/llvm/lib/CompilerDriver/Main.cpp
@@ -95,8 +95,7 @@ int Main(int argc, char** argv) {
(argc, argv, "LLVM Compiler Driver (Work In Progress)", true);
PluginLoader Plugins;
- Plugins.PopulateLanguageMap(langMap);
- Plugins.PopulateCompilationGraph(graph);
+ Plugins.RunInitialization(langMap, graph);
if (CheckGraph) {
int ret = graph.Check();