add option to disable guardedalloc, helps for debugging memory errors
since guardedalloc confuses them. The option cases a warning on build, since its ownly for experimental use.
This commit is contained in:
@@ -281,6 +281,9 @@ mark_as_advanced(WITH_MEM_JEMALLOC)
|
||||
option(WITH_CXX_GUARDEDALLOC "Enable GuardedAlloc for C++ memory allocation tracking (only enable for development)" OFF)
|
||||
mark_as_advanced(WITH_CXX_GUARDEDALLOC)
|
||||
|
||||
option(WITH_GUARDEDALLOC "Enable GuardedAlloc (DISABLE AT OWN RISK!)" ON)
|
||||
mark_as_advanced(WITH_GUARDEDALLOC)
|
||||
|
||||
option(WITH_ASSERT_ABORT "Call abort() when raising an assertion through BLI_assert()" OFF)
|
||||
mark_as_advanced(WITH_ASSERT_ABORT)
|
||||
|
||||
|
Reference in New Issue
Block a user