unified-runtime
unified-runtime copied to clipboard
[DeviceSanitizer] refactor options handling and fix use-after-free related problems
This patch:
- refactor options handling.
- for use-after-free, do not try to get allocated/released info when quarantine is not enabled(no such info anyway).
- for findAllocInfoByAddress(), add an assertion to make sure we got the right allocinfo for the address.
SYCLOS PR: https://github.com/intel/llvm/pull/13855
Hi @wenju-he , @zhaomaosu , @AllanZyne please help reivew this PR first, thank you.
Hi @pbalcer, could we get this PR into the merge pipeline now?