arm-trusted-firmware/common
Antonio Nino Diaz cc8b56322b Add ENABLE_ASSERTIONS build option
Add the new build option `ENABLE_ASSERTIONS` that controls whether or
not assert functions are compiled out. It defaults to 1 for debug builds
and to 0 for release builds.

Additionally, a following patch will be done to allow this build option
to hide auxiliary code used for the checks done in an `assert()`. This
code is is currently under the DEBUG build flag.

Assert messages are now only printed if LOG_LEVEL >= LOG_LEVEL_INFO,
which is the default for debug builds.

This patch also updates the User Guide.

Change-Id: I1401530b56bab25561bb0f274529f1d12c5263bc
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2017-04-19 16:00:53 +01:00
..
aarch32 Add ENABLE_ASSERTIONS build option 2017-04-19 16:00:53 +01:00
aarch64 Add ENABLE_ASSERTIONS build option 2017-04-19 16:00:53 +01:00
bl_common.c Simplify translation tables headers dependencies 2017-03-08 14:40:27 +00:00
desc_image_load.c Add new version of image loading. 2016-09-20 16:16:42 +01:00
runtime_svc.c AArch32: Add API to invoke runtime service handler 2016-08-10 12:35:46 +01:00
tf_printf.c AArch32: Add tf_printf support 2016-08-10 12:35:46 +01:00