diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-12-11 12:52:38 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-12-11 12:52:38 +0000 |
commit | 83f05bf96041c60f018fbd86558189bc0c1bd5dc (patch) | |
tree | 9f81680336698d726031a0a4a98a553147e10db8 | |
parent | 375aec7476e77adff9a50e17b9bda3bd8a5d7421 (diff) | |
download | bcm5719-llvm-83f05bf96041c60f018fbd86558189bc0c1bd5dc.tar.gz bcm5719-llvm-83f05bf96041c60f018fbd86558189bc0c1bd5dc.zip |
Add MemorySanitizer runtime to check_lint.sh.
llvm-svn: 169861
-rwxr-xr-x | compiler-rt/lib/sanitizer_common/scripts/check_lint.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh index ca0cafa2654..fded9a635d7 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh +++ b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh @@ -23,6 +23,7 @@ ASAN_RTL_LINT_FILTER=-readability/casting,-readability/check,-build/include,-bui ASAN_TEST_LINT_FILTER=-readability/casting,-build/include,-legal/copyright,-whitespace/newline,-runtime/sizeof,-runtime/int,-runtime/printf,-build/header_guard TSAN_RTL_LINT_FILTER=-legal/copyright,-build/include,-readability/casting,-build/header_guard,-build/namespaces TSAN_TEST_LINT_FILTER=${TSAN_RTL_LINT_FILTER},-runtime/threadsafe_fn,-runtime/int +MSAN_RTL_LINT_FILTER=-legal/copyright,-build/include,-readability/casting,-build/header_guard,-build/namespaces cd ${LLVM_CHECKOUT} @@ -44,7 +45,7 @@ COMMON_RTL=${COMPILER_RT}/lib/sanitizer_common ${CPPLINT} --filter=${ASAN_RTL_LINT_FILTER} ${COMMON_RTL}/*.{cc,h} ${CPPLINT} --filter=${TSAN_RTL_LINT_FILTER} ${COMMON_RTL}/tests/*.cc -#Interception +# Interception INTERCEPTION=${COMPILER_RT}/lib/interception ${CPPLINT} --filter=${ASAN_RTL_LINT_FILTER} ${INTERCEPTION}/*.{cc,h} @@ -61,3 +62,6 @@ ${CPPLINT} --filter=${TSAN_RTL_LINT_FILTER} ${TSAN_RTL}/rtl/*.{cc,h} ${CPPLINT} --filter=${TSAN_TEST_LINT_FILTER} ${TSAN_RTL}/tests/rtl/*.{cc,h} \ ${TSAN_RTL}/tests/unit/*.cc \ ${TSAN_RTL}/lit_tests/*.cc +# MSan +MSAN_RTL=${COMPILER_RT}/lib/msan +${CPPLINT} --filter=${MSAN_RTL_LINT_FILTER} ${MSAN_RTL}/*.{cc,h} |