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/CGClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGClass.cpp') diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index b0916ed..b11814f 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -1557,7 +1557,7 @@ void CodeGenFunction::EmitDestructorBody(FunctionArgList &Args) { // -fapple-kext must inline any call to this dtor into // the caller's body. if (getLangOpts().AppleKext) - CGM.AddAlwaysInlineFunction(CurFn); + CurFn->addFnAttr(llvm::Attribute::AlwaysInline); break; } -- cgit v1.1