diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-16 00:09:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-16 00:09:06 +0000 |
commit | db1cde7dc7bb3aaf48118bd9605192ab94a93635 (patch) | |
tree | 3d3ba9f78d5221bc5e8da06a5799137192bf8c1d /lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | e614d6c6b12f20f0072c20eb312db2e80d1cb051 (diff) |
Add support for building a module from a module map to the -cc1
interface. This is currently limited to modules with umbrella
headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/lib/FrontendTool/ExecuteCompilerInvocation.cpp index c9af3cc3ff..db76886095 100644 --- a/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -50,6 +50,7 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { case EmitObj: return new EmitObjAction(); case FixIt: return new FixItAction(); case GenerateModule: return new GeneratePCHAction(true); + case GenerateModuleFromMap: return new GenerateModuleAction; case GeneratePCH: return new GeneratePCHAction(false); case GeneratePTH: return new GeneratePTHAction(); case InitOnly: return new InitOnlyAction(); |