From 67037ee21e95804528ecb559980ad9d35ba2eed1 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Fri, 11 Sep 2015 23:48:37 +0000 Subject: Revert "Specify target triple in alwaysinline tests." Revert "Always_inline codegen rewrite." Breaks gdb & lldb tests. Breaks on Fedora 22 x86_64. llvm-svn: 247491 --- clang/lib/CodeGen/CodeGenModule.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index e579f8b..754e3d1 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -489,8 +489,6 @@ private: /// MDNodes. llvm::DenseMap MetadataIdMap; - llvm::SmallVector AlwaysInlineFunctions; - public: CodeGenModule(ASTContext &C, const HeaderSearchOptions &headersearchopts, const PreprocessorOptions &ppopts, @@ -1133,8 +1131,6 @@ public: /// \breif Get the declaration of std::terminate for the platform. llvm::Constant *getTerminateFn(); - void AddAlwaysInlineFunction(llvm::Function *Fn); - private: llvm::Constant * GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl D, @@ -1230,12 +1226,6 @@ private: /// Emits target specific Metadata for global declarations. void EmitTargetMetadata(); - /// Replaces alwaysinline functions with a pair of internal xxx.inlinefunction - /// for direct calls, and a stub for indirect calls, and rewrites all uses of - /// those. - void RewriteAlwaysInlineFunctions(); - void RewriteAlwaysInlineFunction(llvm::Function *Fn); - /// Emit the llvm.gcov metadata used to tell LLVM where to emit the .gcno and /// .gcda files in a way that persists in .bc files. void EmitCoverageFile(); -- cgit v1.1