diff options
author | John McCall <rjmccall@apple.com> | 2010-02-19 01:32:20 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-02-19 01:32:20 +0000 |
commit | d46f98573ba104eda102dd3224b2dca69f1c6336 (patch) | |
tree | 0df0c66590c9ca2c964bb610ce0a72a743c51cfe /include/clang/CodeGen | |
parent | 008847a70ab122a99911149199855060fb3753b4 (diff) |
Re-introduce the ctor/dtor alias optimization, this time hidden behind a
command-line option which defaults off.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen')
-rw-r--r-- | include/clang/CodeGen/CodeGenOptions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/CodeGen/CodeGenOptions.h b/include/clang/CodeGen/CodeGenOptions.h index e1d4ad1b1c..e0e0f779bf 100644 --- a/include/clang/CodeGen/CodeGenOptions.h +++ b/include/clang/CodeGen/CodeGenOptions.h @@ -53,6 +53,8 @@ public: unsigned UnwindTables : 1; /// Emit unwind tables. unsigned VerifyModule : 1; /// Control whether the module should be run /// through the LLVM Verifier. + unsigned CXXCtorDtorAliases: 1; /// Emit complete ctors/dtors as linker + /// aliases to base ctors when possible. /// The code model to use (-mcmodel). std::string CodeModel; @@ -101,6 +103,7 @@ public: UnrollLoops = 0; UnwindTables = 0; VerifyModule = 1; + CXXCtorDtorAliases = 0; Inlining = NoInlining; RelocationModel = "pic"; |