arm-trusted-firmware/lib/stdlib
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
..
abort.c Rationalize console log output 2014-08-12 16:51:18 +01:00
assert.c Add `ENABLE_ASSERTIONS` build option 2017-04-19 16:00:53 +01:00
exit.c stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
mem.c stdlib: Fix signedness issue in memcmp() 2016-12-13 11:16:31 +00:00
printf.c Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
putchar.c Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
puts.c Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
sscanf.c stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
stdlib.mk stdlib: Import timingsafe_bcmp() from FreeBSD 2017-01-24 14:42:12 +00:00
strchr.c Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
strcmp.c stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
strlen.c Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
strncmp.c Add IO abstraction framework 2014-02-17 18:51:43 +00:00
strnlen.c Add strnlen() to local C library 2017-01-24 10:28:41 +00:00
subr_prf.c Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
timingsafe_bcmp.c stdlib: Import timingsafe_bcmp() from FreeBSD 2017-01-24 14:42:12 +00:00