================
@@ -44,6 +44,95 @@ define ptr @overwrite_unknown() {
ret ptr %c
}
+declare { ptr, i64 } @__size_returning_new(i64)
----------------
david-xl wrote:
Added negative tests: a pointer wrapper returning through a temporary (only the
call last stored before the load is tagged), two stores to the same slot (the
first call gets no token), a clobbering call between store and load (no token),
a pointer taken from {ptr, i8} returned by a non-allocating call (no token), a
rebuilt span in a phi (only the real allocation is tagged), and field-wise
stores to the return temporary (no token).
https://github.com/llvm/llvm-project/pull/244314
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits