aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/StructuredData
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/StructuredData
parent29e93f3880f4c6e02727637b35c79ea08997b30b (diff)
downloadllvm-706024395f9a218aeeb4b5948fc15ab5322a763e.tar.gz
llvm-706024395f9a218aeeb4b5948fc15ab5322a763e.tar.bz2
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/StructuredData')
-rw-r--r--lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
index ff87150c67fd..4895962d47be 100644
--- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
+++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
@@ -592,7 +592,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_enable_option_table;
+ return llvm::makeArrayRef(g_enable_option_table);
}
StructuredData::DictionarySP BuildConfigurationData(bool enabled) {