mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
Enable asan on debug macos aarch64 builds (#17058)
This commit is contained in:
@@ -133,10 +133,12 @@
|
||||
|
||||
#if OS(DARWIN)
|
||||
#if BUN_DEBUG
|
||||
#if !__has_feature(address_sanitizer)
|
||||
#include <malloc/malloc.h>
|
||||
#define IS_MALLOC_DEBUGGING_ENABLED 1
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static WTF::StringView StringView_slice(WTF::StringView sv, unsigned start, unsigned end)
|
||||
{
|
||||
|
||||
@@ -50,10 +50,12 @@
|
||||
|
||||
#if OS(DARWIN)
|
||||
#if BUN_DEBUG
|
||||
#if !__has_feature(address_sanitizer)
|
||||
#include <malloc/malloc.h>
|
||||
#define IS_MALLOC_DEBUGGING_ENABLED 1
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
using namespace JSC;
|
||||
using namespace WTF;
|
||||
|
||||
Reference in New Issue
Block a user