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
Update device sanitizer instrument of static workgroup local memory per change in https://github.com/intel/llvm/pull/16356
#16979
Open
wenju-he opened this issue
Feb 12, 2025
· 0 comments
Currently AddressSanitizerPass is checking __sycl_allocateLocalMemory call and then instrument static local memory.
Since #16356 the call is resolved to global variable before AddressSanitizerPass.
Therefore, AddressSanitizerPass should be updated to instrument the global variable instead.
…pp (#16959)
Disable the test temporarily due to two issues that appear after PR
#16356:
* Local memory in the test is optimized out before AddressSanitizerPass.
* #16979
Describe the bug
Currently AddressSanitizerPass is checking __sycl_allocateLocalMemory call and then instrument static local memory.
Since #16356 the call is resolved to global variable before AddressSanitizerPass.
Therefore, AddressSanitizerPass should be updated to instrument the global variable instead.
Test https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/AddressSanitizer/out-of-bounds/local/group_local_memory.cpp will fail after #16356 because local memory isn't instrumented.
So I'm disabling the test in #16959. The test should be re-enabled when this issue is fixed.
To reproduce
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: