diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2022-07-11 19:50:31 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2022-07-11 19:50:31 +0100 |
commit | b19d3ee7120bff4a84db7c9fa8f86c9b6ec3b1cf (patch) | |
tree | c4b55b1f98c9da03257c4095aedf191e248c4eed /clang/lib/CodeGen/CodeGenModule.h | |
parent | e7c8ded6df6d38b019a1de268535d2dd73e7adaf (diff) | |
download | llvm-b19d3ee7120bff4a84db7c9fa8f86c9b6ec3b1cf.zip llvm-b19d3ee7120bff4a84db7c9fa8f86c9b6ec3b1cf.tar.gz llvm-b19d3ee7120bff4a84db7c9fa8f86c9b6ec3b1cf.tar.bz2 |
Revert "[C++20][Modules] Build module static initializers per P1874R1."
This reverts commit ac507102d258b6fc0cb57eb60c9dfabd57ff562f.
reverting while we figuere out why one of the green dragon lldb test fails.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 94ee5f8..da43b96 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -303,7 +303,7 @@ private: std::unique_ptr<CGCXXABI> ABI; llvm::LLVMContext &VMContext; std::string ModuleNameHash; - bool CXX20ModuleInits = false; + std::unique_ptr<CodeGenTBAA> TBAA; mutable std::unique_ptr<TargetCodeGenInfo> TheTargetCodeGenInfo; @@ -1574,9 +1574,6 @@ private: /// Emit the function that initializes C++ thread_local variables. void EmitCXXThreadLocalInitFunc(); - /// Emit the function that initializes global variables for a C++ Module. - void EmitCXXModuleInitFunc(clang::Module *Primary); - /// Emit the function that initializes C++ globals. void EmitCXXGlobalInitFunc(); @@ -1644,9 +1641,6 @@ private: /// Emit the llvm.used and llvm.compiler.used metadata. void emitLLVMUsed(); - /// For C++20 Itanium ABI, emit the initializers for the module. - void EmitModuleInitializers(clang::Module *Primary); - /// Emit the link options introduced by imported modules. void EmitModuleLinkOptions(); |