summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-04-12 20:58:33 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-04-12 20:58:33 +0000
commitf63556d8b44b209e741833b0e6be3f8e72a1d91a (patch)
treeba003bf67e52c55b5e9e1808b07ca4280d39da30 /clang/lib/Lex/ModuleMap.cpp
parent05bf27ac3f560cc798b20a352450d3b6bc20e72b (diff)
downloadbcm5719-llvm-f63556d8b44b209e741833b0e6be3f8e72a1d91a.tar.gz
bcm5719-llvm-f63556d8b44b209e741833b0e6be3f8e72a1d91a.zip
Modular Codegen: Separate flags for function and debug info support
This allows using and testing these two features separately. (noteably, debug info is, so far as I know, always a win (basically). But function modular codegen is currently a loss for highly optimized code - where most of the linkonce_odr definitions are optimized away, so providing weak_odr definitions is only overhead) llvm-svn: 300104
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 61ad5948cd5..4f3db8dd643 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -91,7 +91,6 @@ ModuleMap::ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
HeaderInfo(HeaderInfo), BuiltinIncludeDir(nullptr),
SourceModule(nullptr), NumCreatedModules(0) {
MMapLangOpts.LineComment = true;
- MMapLangOpts.ModularCodegen = LangOpts.ModularCodegen;
}
ModuleMap::~ModuleMap() {
OpenPOWER on IntegriCloud