71d8cbd9b6
* When WITH_STATIC_ANALYZER is set and non-zero, and clang compiler is used,
call new clang ccc-analyzer or c++-analyzer.
* Otherwise, if WITH_SYNTAX_CHECK is set and non-zero,
call compiler with -fsyntax-only.
* Replace "--sysroot=path" with "--sysroot path", to work with ccc-analyzer.
* ccc-analyzer executes the original compilation command to generate
object files before calling clang with --analyze to do static analysis.
* When clang is called with --analyze, macro __clang_analyzer__ is defined.
BUG: 13287788
(cherry picked from commit
|
||
---|---|---|
.. | ||
arch | ||
fdo.mk | ||
HOST_CROSS_windows-x86.mk | ||
HOST_CROSS_windows-x86_64.mk | ||
HOST_darwin-x86.mk | ||
HOST_darwin-x86_64.mk | ||
HOST_linux-x86.mk | ||
HOST_linux-x86_64.mk | ||
javac.mk | ||
mac_version.mk | ||
select.mk | ||
TARGET_linux-arm.mk | ||
TARGET_linux-arm64.mk | ||
TARGET_linux-mips.mk | ||
TARGET_linux-mips64.mk | ||
TARGET_linux-x86.mk | ||
TARGET_linux-x86_64.mk |