[Lldb-commits] [lldb] r281030 - Fixing a build breakage caused from a change in LLVM rL281019
Dimitar Vlahovski via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 9 03:14:12 PDT 2016
Author: dvlahovski
Date: Fri Sep 9 05:14:11 2016
New Revision: 281030
URL: http://llvm.org/viewvc/llvm-project?rev=281030&view=rev
Log:
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
Modified:
lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
Modified: lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp?rev=281030&r1=281029&r2=281030&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp Fri Sep 9 05:14:11 2016
@@ -255,9 +255,7 @@ bool fixupRSAllocationStructByValCalls(l
// 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;
}
}
More information about the lldb-commits
mailing list