[Lldb-commits] [PATCH] D24382: 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:21:59 PDT 2016


dvlahovski created this revision.
dvlahovski added a reviewer: ldrumm.
dvlahovski added a subscriber: lldb-commits.

LLVM guys did some clean-up of the Attribute getters/setters
and because of that the build was failing.

https://reviews.llvm.org/D24382

Files:
  source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp

Index: source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
===================================================================
--- source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
+++ source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
@@ -255,9 +255,7 @@
       // 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;
       }
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24382.70805.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160909/8309a0f0/attachment.bin>


More information about the lldb-commits mailing list