[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:22:41 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281030: Fixing a build breakage caused from a change in LLVM rL281019 (authored by dvlahovski).

Changed prior to commit:
  https://reviews.llvm.org/D24382?vs=70805&id=70806#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24382

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

Index: lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
===================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
+++ lldb/trunk/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.70806.patch
Type: text/x-patch
Size: 808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160909/a5b6f396/attachment.bin>


More information about the lldb-commits mailing list