From c0c7bca4e5b8d12699dc93a0da49e9e4bb79671b Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Sun, 21 Mar 2010 10:50:08 +0000 Subject: Update clang to r99115. --- include/clang/CodeGen/CodeGenOptions.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/clang/CodeGen') diff --git a/include/clang/CodeGen/CodeGenOptions.h b/include/clang/CodeGen/CodeGenOptions.h index e0e0f779bf5ac..85c6c3e3abcf1 100644 --- a/include/clang/CodeGen/CodeGenOptions.h +++ b/include/clang/CodeGen/CodeGenOptions.h @@ -30,6 +30,9 @@ public: }; unsigned AsmVerbose : 1; /// -dA, -fverbose-asm. + unsigned CXAAtExit : 1; /// Use __cxa_atexit for calling destructors. + unsigned CXXCtorDtorAliases: 1; /// Emit complete ctors/dtors as linker + /// aliases to base ctors when possible. unsigned DebugInfo : 1; /// Should generate deubg info (-g). unsigned DisableFPElim : 1; /// Set when -fomit-frame-pointer is enabled. unsigned DisableLLVMOpts : 1; /// Don't run any optimizations, for use in @@ -53,8 +56,6 @@ 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; @@ -86,6 +87,8 @@ public: public: CodeGenOptions() { AsmVerbose = 0; + CXAAtExit = 1; + CXXCtorDtorAliases = 0; DebugInfo = 0; DisableFPElim = 0; DisableLLVMOpts = 0; @@ -103,7 +106,6 @@ public: UnrollLoops = 0; UnwindTables = 0; VerifyModule = 1; - CXXCtorDtorAliases = 0; Inlining = NoInlining; RelocationModel = "pic"; -- cgit v1.2.3