diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2025-05-09 22:26:49 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2025-05-09 22:26:49 +0200 |
| commit | 4d08b7637279c49cb56106a1247e7dfc09265fb2 (patch) | |
| tree | 52f426426e1bbd692c41fbbb5b3d50ca3e58f458 /base | |
| parent | 8a225a6887958bcf23a603efa322a4f15bd96052 (diff) | |
require the __asan_unpoison_memory_region runtime symbol so empty projects with asan enabled build
Diffstat (limited to 'base')
| -rw-r--r-- | base/runtime/internal.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/runtime/internal.odin b/base/runtime/internal.odin index bff5b8380..38b7f662c 100644 --- a/base/runtime/internal.odin +++ b/base/runtime/internal.odin @@ -1109,6 +1109,7 @@ __read_bits :: proc "contextless" (dst, src: [^]byte, offset: uintptr, size: uin when .Address in ODIN_SANITIZER_FLAGS { foreign { + @(require) __asan_unpoison_memory_region :: proc "system" (address: rawptr, size: uint) --- } } |