]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Build: Add menuselect options for using compiler sanitizers 18/1418/1
authorIvan Poddubny <ivan.poddubny@gmail.com>
Sat, 10 Oct 2015 20:20:55 +0000 (23:20 +0300)
committerIvan Poddubny <ivan.poddubny@gmail.com>
Mon, 12 Oct 2015 18:31:32 +0000 (13:31 -0500)
commit486b172b50ae5b525d03ea7467bdb4ffa7ad90fd
tree2c53eb70d40f715f7874d98cfe9a8676d6c85915
parent1c799b1f1ecc37b7fb39dd205a35720e16fe37d7
Build: Add menuselect options for using compiler sanitizers

This patch adds menuselect options for building Asterisk with
various sanitizers provided by gcc and clang.

When one of *SANITIZER flags is set in menuselect, the appropriate
option is added to CFLAGS ad LDFLAGS for the build.

Information on sanitizers in the project wiki:
https://github.com/google/sanitizers/wiki

GCC Manual:
https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html

Clang Compiler User's Manual:
http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation

ASTERISK-24718 #close
Reported by: Badalian Vyacheslav

Change-Id: Iafa51b792b7bcb20e848b99d16cf362d08590fa0
Makefile.rules
build_tools/cflags.xml