From 739aa12b79bcf96f20a106285a939496d3ac15ba Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 23 Sep 2014 16:20:01 +0000 Subject: Revert "Don't use comdats for initializers on platforms that don't support it" On further investigation, COMDATs should work with .ctors, and the issue I was hitting probably reproduces with .init_array. This reverts commit r218287. llvm-svn: 218313 --- clang/lib/CodeGen/CodeGenModule.h | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index d62d68a408a..afd5b5d404f 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -601,7 +601,6 @@ public: const TargetInfo &getTarget() const { return Target; } const llvm::Triple &getTriple() const; bool supportsCOMDAT() const; - bool supportsCOMDATInitializers() const; CGCXXABI &getCXXABI() const { return *ABI; } llvm::LLVMContext &getLLVMContext() { return VMContext; } -- cgit v1.2.3