Skip to content

Commit 80bc701

Browse files
committed
Enable tracing to see why CI is crashing.
1 parent 1fc42a1 commit 80bc701

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ endif()
211211

212212
target_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.
216218
find_package(Backtrace)

src/test/func/redblack/redblack.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
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"

src/test/func/two_alloc_types/alloc1.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define SNMALLOC_TRACING
1+
//#define SNMALLOC_TRACING
22

33
// Redefine the namespace, so we can have two versions.
44
#define snmalloc snmalloc_enclave

src/test/func/two_alloc_types/alloc2.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.

0 commit comments

Comments
 (0)