From 20a3931f8fadb9c13b4868d1b0124498b014b1d5 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 29 Oct 2020 01:09:39 -0700 Subject: [PATCH] Revert "[NFC][TSAN] Logs to debug test script on bot" Done with debugging. Script didn't work because of low limit on open files on the bot. This reverts commit 220293da53b5049ded67b1a251bd85069fa068e7. --- compiler-rt/lib/tsan/analyze_libtsan.sh | 2 -- compiler-rt/lib/tsan/check_analyze.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler-rt/lib/tsan/analyze_libtsan.sh b/compiler-rt/lib/tsan/analyze_libtsan.sh index f55d75564108f..ae29f1b5b05a1 100755 --- a/compiler-rt/lib/tsan/analyze_libtsan.sh +++ b/compiler-rt/lib/tsan/analyze_libtsan.sh @@ -4,7 +4,6 @@ set -e set -u -set -x if [[ "$#" != 1 ]]; then echo "Usage: $0 /path/to/binary/built/with/tsan" @@ -38,7 +37,6 @@ nm -S $BIN | grep "__tsan_" > ${NM_CONTENTS} for f in $list; do file=${OUTPUT_DIR}/asm_$f.s get_asm $f > $file - echo "Disassemble: $f to $file $(stat $file)" tot=$(wc -l < $file) size=$(grep __tsan_$f$ ${NM_CONTENTS} | awk --non-decimal-data '{print ("0x"$2)+0}') rsp=$(grep '(%rsp)' $file | wc -l) diff --git a/compiler-rt/lib/tsan/check_analyze.sh b/compiler-rt/lib/tsan/check_analyze.sh index 2b320b9055039..9a245c0c89abb 100755 --- a/compiler-rt/lib/tsan/check_analyze.sh +++ b/compiler-rt/lib/tsan/check_analyze.sh @@ -11,7 +11,7 @@ # ./projects/compiler-rt/lib/tsan/tests/rtl/TsanRtlTest-x86_64-Test # --gtest_also_run_disabled_tests --gtest_filter=DISABLED_BENCH.Mop* -set -ux +set -u if [[ "$#" != 1 ]]; then echo "Usage: $0 /path/to/binary/built/with/tsan"