Skip to content

Commit

Permalink
Revert "[NFC][TSAN] Logs to debug test script on bot"
Browse files Browse the repository at this point in the history
Done with debugging. Script didn't work because of low limit on open
files on the bot.

This reverts commit 220293d.
  • Loading branch information
vitalybuka committed Oct 29, 2020
1 parent 97b351a commit 20a3931
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions compiler-rt/lib/tsan/analyze_libtsan.sh
Expand Up @@ -4,7 +4,6 @@

set -e
set -u
set -x

if [[ "$#" != 1 ]]; then
echo "Usage: $0 /path/to/binary/built/with/tsan"
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/lib/tsan/check_analyze.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 20a3931

Please sign in to comment.