diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 23:48:37 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 23:48:37 +0000 |
commit | 67037ee21e95804528ecb559980ad9d35ba2eed1 (patch) | |
tree | 855d24c864167ad8fbd5c3a1dd9b576de215f0ff /clang/lib/CodeGen/CGOpenMPRuntime.cpp | |
parent | 67a4fc71df2a46a273ee5aa8f81e31e92067e5da (diff) | |
download | bcm5719-llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.tar.gz bcm5719-llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.zip |
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/CGOpenMPRuntime.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index f85f66bd134..a9e7a9c5552 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -2114,7 +2114,7 @@ emitTaskPrivateMappingFunction(CodeGenModule &CGM, SourceLocation Loc, ".omp_task_privates_map.", &CGM.getModule()); CGM.SetLLVMFunctionAttributes(/*D=*/nullptr, TaskPrivatesMapFnInfo, TaskPrivatesMap); - CGM.AddAlwaysInlineFunction(TaskPrivatesMap); + TaskPrivatesMap->addFnAttr(llvm::Attribute::AlwaysInline); CodeGenFunction CGF(CGM); CGF.disableDebugInfo(); CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskPrivatesMap, |