fix heuristic for caching stack traces
This commit is contained in:
parent
ae99d4e5bc
commit
9fc9d9582e
|
@ -13577,7 +13577,7 @@ typedef void *(*Get_Stack_Proc)();
|
||||||
# define RETURN_ADDRESS_OFFSET 1
|
# define RETURN_ADDRESS_OFFSET 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CACHE_STACK_MIN_TRIGGER 1024
|
#define CACHE_STACK_MIN_TRIGGER 128
|
||||||
|
|
||||||
#define USE_STACK_CHECK 0
|
#define USE_STACK_CHECK 0
|
||||||
|
|
||||||
|
|
|
@ -39,10 +39,10 @@
|
||||||
|
|
||||||
#ifdef STACK_GROWS_UP
|
#ifdef STACK_GROWS_UP
|
||||||
# define STK_COMP(a,b) ((a) > (b))
|
# define STK_COMP(a,b) ((a) > (b))
|
||||||
# define STK_DIFF(a, b) ((a) - (b))
|
# define STK_DIFF(a, b) ((b) - (a))
|
||||||
#else
|
#else
|
||||||
# define STK_COMP(a,b) ((a) < (b))
|
# define STK_COMP(a,b) ((a) < (b))
|
||||||
# define STK_DIFF(a, b) ((b) - (a))
|
# define STK_DIFF(a, b) ((a) - (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SHORT_ALIGN
|
#ifdef SHORT_ALIGN
|
||||||
|
|
Loading…
Reference in New Issue
Block a user