diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-20 19:22:21 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-20 19:22:21 +0000 |
commit | 4442605f184427092e64720db15ce89f65f49b78 (patch) | |
tree | 6aa145823579ffeeb858199e29dc705ad7fe49d6 /clang/lib/CodeGen/ItaniumCXXABI.cpp | |
parent | f658e92724a349fa20a45535b40ed28b7575d49a (diff) | |
download | bcm5719-llvm-4442605f184427092e64720db15ce89f65f49b78.tar.gz bcm5719-llvm-4442605f184427092e64720db15ce89f65f49b78.zip |
Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here.
llvm-svn: 170721
Diffstat (limited to 'clang/lib/CodeGen/ItaniumCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/ItaniumCXXABI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/ItaniumCXXABI.cpp b/clang/lib/CodeGen/ItaniumCXXABI.cpp index 6c140470b82..83f77823e96 100644 --- a/clang/lib/CodeGen/ItaniumCXXABI.cpp +++ b/clang/lib/CodeGen/ItaniumCXXABI.cpp @@ -952,8 +952,8 @@ static llvm::Constant *getGuardAcquireFn(CodeGenModule &CGM, llvm::FunctionType::get(CGM.getTypes().ConvertType(CGM.getContext().IntTy), GuardPtrTy, /*isVarArg=*/false); return CGM.CreateRuntimeFunction(FTy, "__cxa_guard_acquire", - llvm::Attribute::get(CGM.getLLVMContext(), - llvm::Attribute::NoUnwind)); + llvm::Attributes::get(CGM.getLLVMContext(), + llvm::Attributes::NoUnwind)); } static llvm::Constant *getGuardReleaseFn(CodeGenModule &CGM, @@ -962,8 +962,8 @@ static llvm::Constant *getGuardReleaseFn(CodeGenModule &CGM, llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); return CGM.CreateRuntimeFunction(FTy, "__cxa_guard_release", - llvm::Attribute::get(CGM.getLLVMContext(), - llvm::Attribute::NoUnwind)); + llvm::Attributes::get(CGM.getLLVMContext(), + llvm::Attributes::NoUnwind)); } static llvm::Constant *getGuardAbortFn(CodeGenModule &CGM, @@ -972,8 +972,8 @@ static llvm::Constant *getGuardAbortFn(CodeGenModule &CGM, llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); return CGM.CreateRuntimeFunction(FTy, "__cxa_guard_abort", - llvm::Attribute::get(CGM.getLLVMContext(), - llvm::Attribute::NoUnwind)); + llvm::Attributes::get(CGM.getLLVMContext(), + llvm::Attributes::NoUnwind)); } namespace { |