summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2018-03-14 05:27:40 -0400
committerCorey Farrell <git@cfware.com>2018-03-17 01:06:33 -0400
commit4d1c9d87115d5ac6663f16d298e435cb37198653 (patch)
tree525e0d57128638ce663102e9de1fdfa3f2e0c1f9 /build_tools
parentd5bfba60d2c609852da2f89677e878567d133674 (diff)
core: Stop using AST_INLINE_API for allocator functions.
This replaces AST_INLINE_API allocators in utils.h with real functions implemented in astmm.c. Associated macro's are also moved from utils.h to astmm.h. Remove menuselect conflicts between MALLOC_DEBUG and DEBUG_CHAOS as they can now be combined. This has multiple benefits: * Simplifies asterisk/utils.h by removing inline functions and use of the logger. * Removal of these inline functions decreases size of Asterisk and module binaries by 1% or more. * Puts memory management functions together with and without MALLOC_DEBUG enabled, simplifying management of the code. * Enables DEBUG_CHAOS for ASTMM_REDIRECT and bundled pjproject. Change-Id: If9df4377f74bdbb627461b27a473123e05525887
Diffstat (limited to 'build_tools')
-rw-r--r--build_tools/cflags.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/build_tools/cflags.xml b/build_tools/cflags.xml
index f05f42869..c4f9458ec 100644
--- a/build_tools/cflags.xml
+++ b/build_tools/cflags.xml
@@ -78,11 +78,9 @@
<support_level>extended</support_level>
</member>
<member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations">
- <conflict>DEBUG_CHAOS</conflict>
<support_level>core</support_level>
</member>
<member name="DEBUG_CHAOS" displayname="Randomly FAIL memory allocations or other operations">
- <conflict>MALLOC_DEBUG</conflict>
<support_level>core</support_level>
</member>
<member name="ADDRESS_SANITIZER" displayname="Address Sanitizer">