You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Structs are built using alloca statements and thus are deallocated when the function returns.
This is obviously UB and should be mitigated by allocating them on the heap.
This would require either to allow for explicit heap allocation/deallocation like new/free or to have a proper lifetime checker to transparently do these operations.
The text was updated successfully, but these errors were encountered:
Structs are built using alloca statements and thus are deallocated when the function returns.
This is obviously UB and should be mitigated by allocating them on the heap.
This would require either to allow for explicit heap allocation/deallocation like new/free or to have a proper lifetime checker to transparently do these operations.
The text was updated successfully, but these errors were encountered: