mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1036215 - Use MOZ_EXPORT in MemoryChecking.h; r=njn
This commit is contained in:
parent
41368efcce
commit
fa23995e95
@ -34,14 +34,14 @@
|
||||
#if defined(MOZ_ASAN)
|
||||
#include <stddef.h>
|
||||
|
||||
#include "mozilla/Types.h"
|
||||
|
||||
extern "C" {
|
||||
/* These definitions are usually provided through the
|
||||
* sanitizer/asan_interface.h header installed by ASan.
|
||||
*/
|
||||
void __asan_poison_memory_region(void const volatile *addr, size_t size)
|
||||
__attribute__((visibility("default")));
|
||||
void __asan_unpoison_memory_region(void const volatile *addr, size_t size)
|
||||
__attribute__((visibility("default")));
|
||||
void MOZ_EXPORT __asan_poison_memory_region(void const volatile *addr, size_t size);
|
||||
void MOZ_EXPORT __asan_unpoison_memory_region(void const volatile *addr, size_t size);
|
||||
|
||||
#define MOZ_MAKE_MEM_NOACCESS(addr, size) \
|
||||
__asan_poison_memory_region((addr), (size))
|
||||
|
Loading…
Reference in New Issue
Block a user