config/debug/dmalloc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 15:48:27 2011 +0200 (2011-07-17)
changeset 2886 f1ad0445325c
parent 1844 4d6a56579d9d
permissions -rw-r--r--
cc/gcc: simplify calls to core backend

The core backend is going to have more parameters in the upcoming
patches, so it will be a bit complex to handle.

Introduce an array-variable that is filled by the different code-paths
with the required values.

This makes the code easier to read and maintain.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # dmalloc debug facility
     2 
     3 ## depends on ! BACKEND
     4 ##
     5 ## help dmalloc helps tracking memory allocation mis-usage
     6 ## help such as double-free, use-after-free...
     7 
     8 choice
     9     bool
    10     prompt "dmalloc version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config DMALLOC_V_5_5_2
    15     bool
    16     prompt "5.5.2"
    17 
    18 endchoice
    19 
    20 config DMALLOC_VERSION
    21     string
    22 # Don't remove next line
    23 # CT_INSERT_VERSION_STRING_BELOW
    24     default "5.5.2" if DMALLOC_V_5_5_2