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
diff --git a/lldb/source/Interpreter/OptionGroupArchitecture.cpp b/lldb/source/Interpreter/OptionGroupArchitecture.cpp
index 870afb2..2ebd762 100644
--- a/lldb/source/Interpreter/OptionGroupArchitecture.cpp
+++ b/lldb/source/Interpreter/OptionGroupArchitecture.cpp
@@ -29,7 +29,7 @@
};
llvm::ArrayRef<OptionDefinition> OptionGroupArchitecture::GetDefinitions() {
- return g_option_table;
+ return llvm::makeArrayRef(g_option_table);
}
bool OptionGroupArchitecture::GetArchitecture(Platform *platform,