<div dir="ltr">Hi all,<div><br></div><div>Is there a function attribute or otherwise way to query whether a function could write to memory that outlives itself?</div><div><br></div><div>For example writing to a global or memory passed in via a function argument would be writing to memory that outlives the function, but writing to a stack variable or allocation that isn't returned would not.</div><div><br></div><div>Cheers,</div><div>Billy MosesĀ </div></div>