labath added a reviewer: emaste. labath added a comment. +ed as freebsd owner
ArrayRef cannot be returned from a function as they don't own the underlying data. The more traditional way of using SmallVector is to "return" it as a by-ref `SmallVectorImpl<T>` argument, as that avoids the need to hardcode the size in the function prototypes, but I suppose this will work as well... https://reviews.llvm.org/D34776 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits