aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-11 23:48:37 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-11 23:48:37 +0000
commit67037ee21e95804528ecb559980ad9d35ba2eed1 (patch)
tree855d24c864167ad8fbd5c3a1dd9b576de215f0ff /clang/lib/CodeGen/CGClass.cpp
parent67a4fc71df2a46a273ee5aa8f81e31e92067e5da (diff)
downloadllvm-67037ee21e95804528ecb559980ad9d35ba2eed1.zip
llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.tar.gz
llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.tar.bz2
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
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}