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;
       }
     }


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;
       }
     }
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to