tqchen opened a new pull request, #650:
URL: https://github.com/apache/tvm-ffi/pull/650

   This change makes SimpleObjAllocator strongly exception-safe when placement 
construction throws.
   
   It adds an allocator-local allocation guard to both ordinary object and 
variable-sized array creation. The guard frees the matching aligned allocation 
during exception unwinding and is disarmed after successful construction. A 
focused object test verifies constructor exceptions propagate through 
make_object.
   
   Validation:
   - Complete exception-enabled C++ test suite: 419 enabled tests passed
   - Formatting, repository lint hooks, and diff checks passed
   - Optimized GCC 11.4 assembly audit found no added executed success-path 
work; cleanup remains in cold exception landing pads


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to