summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-22 21:06:13 +0000
committerZachary Turner <zturner@google.com>2016-09-22 21:06:13 +0000
commit706024395f9a218aeeb4b5948fc15ab5322a763e (patch)
tree749d119e219a6aadb8fc9f78b3dcb1896875f177 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
parent29e93f3880f4c6e02727637b35c79ea08997b30b (diff)
downloadbcm5719-llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.tar.gz
bcm5719-llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.zip
Try to fix build errors on Android.
It doesn't like the implicit conversion from T[] to ArrayRef<T> so I'm using `llvm::makeArrayRef()`. Hopefully I got everything. llvm-svn: 282195
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
index 1e4d846a898..567921a42a8 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
@@ -3780,7 +3780,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_renderscript_kernel_bp_set_options;
+ return llvm::makeArrayRef(g_renderscript_kernel_bp_set_options);
}
std::array<int, 3> m_coord;
@@ -4039,7 +4039,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_renderscript_runtime_alloc_dump_options;
+ return llvm::makeArrayRef(g_renderscript_runtime_alloc_dump_options);
}
FileSpec m_outfile;
@@ -4161,7 +4161,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_renderscript_runtime_alloc_list_options;
+ return llvm::makeArrayRef(g_renderscript_runtime_alloc_list_options);
}
uint32_t m_id;
OpenPOWER on IntegriCloud