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/Commands/CommandObjectLog.cpp b/lldb/source/Commands/CommandObjectLog.cpp
index 29b937f..350f8d0 100644
--- a/lldb/source/Commands/CommandObjectLog.cpp
+++ b/lldb/source/Commands/CommandObjectLog.cpp
@@ -167,7 +167,7 @@
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_log_options;
+ return llvm::makeArrayRef(g_log_options);
}
// Instance variables to hold the values for command options.