mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
13 lines
576 B
C
13 lines
576 B
C
#include "wtf/Compiler.h"
|
|
|
|
#if ASAN_ENABLED
|
|
const char* __asan_default_options(void)
|
|
{
|
|
// detect_stack_use_after_return causes some stack allocations to be made on the heap instead,
|
|
// which breaks some JSC classes that have to be on the stack:
|
|
// ASSERTION FAILED: Thread::currentSingleton().stack().contains(this)
|
|
// cache/webkit-eda8b0fb4fb1aa23/include/JavaScriptCore/JSGlobalObjectInlines.h(63) : JSC::JSGlobalObject::GlobalPropertyInfo::GlobalPropertyInfo(const Identifier &, JSValue, unsigned int)
|
|
return "detect_stack_use_after_return=0";
|
|
}
|
|
#endif
|