Add ODIN_SANITIZER_FLAGS global constant

This commit is contained in:
gingerBill
2023-09-21 11:34:40 +01:00
parent 4aa9d34b3d
commit 098c09835b
2 changed files with 40 additions and 0 deletions
+13
View File
@@ -510,6 +510,19 @@ Odin_Endian_Type :: type_of(ODIN_ENDIAN)
*/
Odin_Platform_Subtarget_Type :: type_of(ODIN_PLATFORM_SUBTARGET)
/*
// Defined internally by the compiler
Odin_Sanitizer_Flag :: enum u32 {
Address = 0,
Memory = 1,
Thread = 2,
}
Odin_Sanitizer_Flags :: distinct bitset[Odin_Sanitizer_Flag; u32]
ODIN_SANITIZER_FLAGS // is a constant
*/
Odin_Sanitizer_Flags :: type_of(ODIN_SANITIZER_FLAGS)
/////////////////////////////
// Init Startup Procedures //