summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/utils/VtableTest/check-ztt
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-11 17:22:16 +0000
committerdim <dim@FreeBSD.org>2010-10-11 17:22:16 +0000
commit1fc65a65fe54635d0e564559ba5a7b8a8a42d4d6 (patch)
treede75a464c5dac7eceb2dbbad8b4d4e1479d79e08 /contrib/llvm/tools/clang/utils/VtableTest/check-ztt
parentf4f7191cd223adebacee3fad260ed60935be9cb9 (diff)
downloadFreeBSD-src-1fc65a65fe54635d0e564559ba5a7b8a8a42d4d6.zip
FreeBSD-src-1fc65a65fe54635d0e564559ba5a7b8a8a42d4d6.tar.gz
Remove more unneeded files and directories from contrib/llvm. This
still allows us to build tblgen and clang, and further reduces the footprint in the tree. Approved by: rpaulo (mentor)
Diffstat (limited to 'contrib/llvm/tools/clang/utils/VtableTest/check-ztt')
-rwxr-xr-xcontrib/llvm/tools/clang/utils/VtableTest/check-ztt20
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/llvm/tools/clang/utils/VtableTest/check-ztt b/contrib/llvm/tools/clang/utils/VtableTest/check-ztt
deleted file mode 100755
index 4a83c55..0000000
--- a/contrib/llvm/tools/clang/utils/VtableTest/check-ztt
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-N_STRUCTS=300
-
-# Utility routine to "hand" check VTTs.
-
-let i=1;
-while [ $i != $N_STRUCTS ]; do
- sed -n "/^__ZTT.*s$i:/,/\.[sgm][elo]/p" test-clang.s |
- grep -v '\.[sgm][elo]' | sed -e 's/[()]//g' -e '/^$/d' >test-clang-ztt
- sed -n "/^__ZTT.*s$i:/,/\.[sgm][elo]/p" test-gcc.s |
- grep -v '\.[sgm][elo]' | sed -e 's/[()]//g' -e 's/ + /+/' >test-gcc-ztt
- diff -U3 test-gcc-ztt test-clang-ztt
- if [ $? != 0 ]; then
- echo "FAIL: s$i VTT"
- else
- echo "PASS: s$i VTT"
- fi
- let i=i+1
-done
OpenPOWER on IntegriCloud