diff options
author | Dimitar Vlahovski <dvlahovski@google.com> | 2016-09-09 10:14:11 +0000 |
---|---|---|
committer | Dimitar Vlahovski <dvlahovski@google.com> | 2016-09-09 10:14:11 +0000 |
commit | 80dfec8ce3f9e2a70e8ce0130f55c41ccd951ac2 (patch) | |
tree | 5342eeab9555c7633d214ac4ca18a9d7e29240ca /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime | |
parent | fd25193463c28813560c0d592cbeb31da1d5e0eb (diff) | |
download | bcm5719-llvm-80dfec8ce3f9e2a70e8ce0130f55c41ccd951ac2.tar.gz bcm5719-llvm-80dfec8ce3f9e2a70e8ce0130f55c41ccd951ac2.zip |
Fixing a build breakage caused from a change in LLVM rL281019
Summary:
LLVM guys did some clean-up of the Attribute getters/setters
and because of that the build was failing.
Reviewers: ldrumm
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D24382
llvm-svn: 281030
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime')
-rw-r--r-- | lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp index 354d5d6c0bb..3ee3a53a88d 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp @@ -255,9 +255,7 @@ bool fixupRSAllocationStructByValCalls(llvm::Module &module) { // if this argument is passed by val if (call_attribs.hasAttribute(i, llvm::Attribute::ByVal)) { // strip away the byval attribute - call_inst->removeAttribute( - i, - llvm::Attribute::get(module.getContext(), llvm::Attribute::ByVal)); + call_inst->removeAttribute(i, llvm::Attribute::ByVal); changed = true; } } |