ravitheja added inline comments.
================
Comment at: source/Plugins/Process/Linux/ProcessorTrace.cpp:393
+ llvm::SmallVector<MutableArrayRef<uint8_t>, 2> parts = {
+ src.slice(src_cyc_index), src.drop_back(src.size() - src_cyc_index)};
+
----------------
labath wrote:
> Isn't the drop-back expression equivalent to `src.take_front(src_cyc_index)`?
The problem with that is I don't see the documentation of some functions and I
have to dig in the code.
Which is why I did not used it.
https://reviews.llvm.org/D33674
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits