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
This commit is contained in:
Evgeniy Stepanov
2015-09-11 23:48:37 +00:00
parent 67a4fc71df
commit 67037ee21e
16 changed files with 28 additions and 355 deletions

View File

@@ -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;
}