From 340e90b8f5da6c6f822aed5cb74ffe762853d7ad Mon Sep 17 00:00:00 2001 From: Michael Bickel Date: Mon, 9 Sep 2024 12:16:30 +0200 Subject: [PATCH] add HXCPP_TRACY_NO_EXIT & HXCPP_TRACY_ON_DEMAND support --- src/hx/gc/Immix.cpp | 4 ++-- toolchain/common-defines.xml | 3 ++- toolchain/haxe-target.xml | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/hx/gc/Immix.cpp b/src/hx/gc/Immix.cpp index 13f87554c..d14a74c6b 100644 --- a/src/hx/gc/Immix.cpp +++ b/src/hx/gc/Immix.cpp @@ -6621,7 +6621,7 @@ void SetTopOfStack(int *inTop,bool inForce) void *InternalNew(int inSize,bool inIsObject) { - HX_STACK_FRAME("GC", "new", 0, "GC::new", __FILE__, __LINE__, 0) + // HX_STACK_FRAME("GC", "new", 0, "GC::new", __FILE__, __LINE__, 0) #ifdef HXCPP_DEBUG if (sgSpamCollects && sgAllocsSinceLastSpam>=sgSpamCollects) @@ -6732,7 +6732,7 @@ void *InternalRealloc(int inFromSize, void *inData,int inSize, bool inExpand) return hx::InternalNew(inSize,false); } - HX_STACK_FRAME("GC", "realloc", 0, "GC::relloc", __FILE__ , __LINE__, 0) + // HX_STACK_FRAME("GC", "realloc", 0, "GC::relloc", __FILE__ , __LINE__, 0) #ifdef HXCPP_DEBUG if (sgSpamCollects && sgAllocsSinceLastSpam>=sgSpamCollects) diff --git a/toolchain/common-defines.xml b/toolchain/common-defines.xml index 11c65405f..47e0a0560 100644 --- a/toolchain/common-defines.xml +++ b/toolchain/common-defines.xml @@ -39,7 +39,8 @@ - + + diff --git a/toolchain/haxe-target.xml b/toolchain/haxe-target.xml index b1aefb0fe..081c15bc5 100644 --- a/toolchain/haxe-target.xml +++ b/toolchain/haxe-target.xml @@ -137,6 +137,8 @@ + +