mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
require the __asan_unpoison_memory_region runtime symbol so empty projects with asan enabled build
This commit is contained in:
@@ -1109,6 +1109,7 @@ __read_bits :: proc "contextless" (dst, src: [^]byte, offset: uintptr, size: uin
|
|||||||
|
|
||||||
when .Address in ODIN_SANITIZER_FLAGS {
|
when .Address in ODIN_SANITIZER_FLAGS {
|
||||||
foreign {
|
foreign {
|
||||||
|
@(require)
|
||||||
__asan_unpoison_memory_region :: proc "system" (address: rawptr, size: uint) ---
|
__asan_unpoison_memory_region :: proc "system" (address: rawptr, size: uint) ---
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user