Fix typo in CI config and suppress STORE_U8 in TSAN (#2802)

This typo prevented sanitizers to work in the CI.
This commit is contained in:
Maks Litskevich
2023-12-11 01:16:30 +00:00
committed by GitHub
parent 1dbae404b4
commit 63696ba603
4 changed files with 17 additions and 3 deletions

View File

@ -54,6 +54,12 @@ STORE_U16(void *addr, uint16_t value)
{
*(uint16_t *)(addr) = (uint16_t)(value);
}
static inline void
STORE_U8(void *addr, uint8_t value)
{
*(uint8 *)addr = value;
}
/* For LOAD opcodes */
#define LOAD_I64(addr) (*(int64 *)(addr))
#define LOAD_F64(addr) (*(float64 *)(addr))
@ -173,6 +179,13 @@ STORE_U32(void *addr, uint32_t value)
}
}
}
static inline void
STORE_U8(void *addr, uint8_t value)
{
*(uint8 *)addr = value;
}
static inline void
STORE_U16(void *addr, uint16_t value)
{