diff options
author | Greg Fitzgerald <gregf@codeaurora.org> | 2014-03-21 00:45:21 +0000 |
---|---|---|
committer | Greg Fitzgerald <gregf@codeaurora.org> | 2014-03-21 00:45:21 +0000 |
commit | a6bfd8dd12b38cc8b45bcf22d1cb3e6bb079b75e (patch) | |
tree | 8b1414fdea37c44c3a0ded1010c28164b0917ad7 /lib/sanitizer_common | |
parent | 3f566f25cda5e6bc31d53fbbffba41c7d8964ec5 (diff) | |
download | compiler-rt-a6bfd8dd12b38cc8b45bcf22d1cb3e6bb079b75e.tar.gz |
fixed check_lint.sh in standalone build
Change-Id: I30d340bbe6b2028cc0f831399b62521912dcac60
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common')
-rwxr-xr-x | lib/sanitizer_common/scripts/check_lint.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sanitizer_common/scripts/check_lint.sh b/lib/sanitizer_common/scripts/check_lint.sh index 25b38b54e..e425fe172 100755 --- a/lib/sanitizer_common/scripts/check_lint.sh +++ b/lib/sanitizer_common/scripts/check_lint.sh @@ -54,7 +54,9 @@ run_lint ${LLVM_LINT_FILTER} --filter=${LLVM_LINT_FILTER} \ lib/Transforms/Instrumentation/*Sanitizer.cpp \ lib/Transforms/Utils/SpecialCaseList.cpp & -COMPILER_RT=projects/compiler-rt +if [ "${COMPILER_RT}" == "" ]; then + COMPILER_RT=projects/compiler-rt +fi LIT_TESTS=${COMPILER_RT}/test # Headers SANITIZER_INCLUDES=${COMPILER_RT}/include/sanitizer |