File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,6 +211,8 @@ endif()
211211
212212target_compile_definitions (snmalloc INTERFACE $<$<BOOL :CONST_QUALIFIED_MALLOC_USABLE_SIZE >:MALLOC_USABLE_SIZE_QUALIFIER =const >)
213213
214+ target_compile_definitions (snmalloc INTERFACE SNMALLOC_TRACING )
215+
214216# In debug and CI builds, link the backtrace library so that we can get stack
215217# traces on errors.
216218find_package (Backtrace )
Original file line number Diff line number Diff line change 88#include < iostream>
99#include < vector>
1010
11- #define SNMALLOC_TRACING
1211// Redblack tree needs some libraries with trace enabled.
1312#include " ds/redblacktree.h"
1413#include " snmalloc.h"
Original file line number Diff line number Diff line change 1- #define SNMALLOC_TRACING
1+ // #define SNMALLOC_TRACING
22
33// Redefine the namespace, so we can have two versions.
44#define snmalloc snmalloc_enclave
Original file line number Diff line number Diff line change 1- #define SNMALLOC_TRACING
1+ // #define SNMALLOC_TRACING
22
33#define SNMALLOC_NAME_MANGLE (a ) host_##a
44// Redefine the namespace, so we can have two versions.
You can’t perform that action at this time.
0 commit comments