[compiler-rt] d065965 - [build_symbolizer] Fix typo in 2c81d70747ac81b37b6c7639fe7afa328e8f5e79

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 18:40:22 PDT 2023


Author: Davide Italiano
Date: 2023-11-01T18:40:11-07:00
New Revision: d06596516fcb4d32a26eef5930a50fa56457814b

URL: https://github.com/llvm/llvm-project/commit/d06596516fcb4d32a26eef5930a50fa56457814b
DIFF: https://github.com/llvm/llvm-project/commit/d06596516fcb4d32a26eef5930a50fa56457814b.diff

LOG: [build_symbolizer] Fix typo in 2c81d70747ac81b37b6c7639fe7afa328e8f5e79

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
index 13acced825e0b70..520e0a631cb4a3c 100755
--- a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
+++ b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
@@ -71,7 +71,7 @@ FLAGS+=" -include ${SRC_DIR}/../sanitizer_redefine_builtins.h -DSANITIZER_COMMON
 LINKFLAGS="-fuse-ld=lld -target $TARGET_TRIPLE"
 
 # Build zlib.
-if [[ -d ${ZLIB_BUILD} ]]; then
+if [[ ! -d ${ZLIB_BUILD} ]]; then
   if [[ -z "${ZLIB_SRC}" ]]; then
     git clone https://github.com/madler/zlib ${ZLIB_BUILD}
   else


        


More information about the llvm-commits mailing list