Skip to content
Snippets Groups Projects
Commit d18b4de5 authored by Anders Carlsson's avatar Anders Carlsson
Browse files

More magic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99803 91177308-0d34-0410-b5e6-96231b3b80d8
parent f01149ab
No related branches found
No related tags found
No related merge requests found
...@@ -6,10 +6,10 @@ N_STRUCTS=300 ...@@ -6,10 +6,10 @@ N_STRUCTS=300
let i=1; let i=1;
while [ $i != $N_STRUCTS ]; do while [ $i != $N_STRUCTS ]; do
sed -n "/^__ZTT.*s$i:/,/\.[sg][el]/p" test-clang.s | sed -n "/^__ZTT.*s$i:/,/\.[sgm][elo]/p" test-clang.s |
grep -v '\.[sg][el]' | sed -e 's/[()]//g' -e '/^$/d' >test-clang-ztt grep -v '\.[sgm][elo]' | sed -e 's/[()]//g' -e '/^$/d' >test-clang-ztt
sed -n "/^__ZTT.*s$i:/,/\.[sg][el]/p" test-gcc.s | sed -n "/^__ZTT.*s$i:/,/\.[sgm][elo]/p" test-gcc.s |
grep -v '\.[sg][el]' | sed -e 's/[()]//g' -e 's/ + /+/' >test-gcc-ztt grep -v '\.[sgm][elo]' | sed -e 's/[()]//g' -e 's/ + /+/' >test-gcc-ztt
diff -U3 test-gcc-ztt test-clang-ztt diff -U3 test-gcc-ztt test-clang-ztt
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "FAIL: s$i VTT" echo "FAIL: s$i VTT"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment