================
@@ -22,10 +22,10 @@ struct CGDataPatchItem {
// Where to patch.
uint64_t Pos;
// Source data.
- OwningArrayRef<uint64_t> D;
+ std::vector<uint64_t> D;
----------------
davidstone wrote:
I haven't audited all of the uses of `CGDataPatchItem` to ensure that none of
the clients rely on a reference to the data being stable on a move. That is
guaranteed by `OwningArrayRef` and `std::vector` but not `SmallVector`.
https://github.com/llvm/llvm-project/pull/169126
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits