From: Ivo Raisr Date: Sun, 26 Feb 2017 04:02:33 +0000 (+0100) Subject: Update auxprogs/update-demangler for Valgrind in GIT. X-Git-Tag: VALGRIND_3_14_0~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552e2a8679c41b9602de3bdbf99b1ecca3caef1c;p=thirdparty%2Fvalgrind.git Update auxprogs/update-demangler for Valgrind in GIT. --- diff --git a/auxprogs/update-demangler b/auxprogs/update-demangler index 8c1bbaa403..2a788b8bec 100755 --- a/auxprogs/update-demangler +++ b/auxprogs/update-demangler @@ -88,10 +88,18 @@ cp ../gcc-$new_gcc_revision/libiberty/rust-demangle.c . cp ../gcc-$new_gcc_revision/libiberty/safe-ctype.c . cd .. -# 5) Check out valgrind coregrind/m_demangle into old_m_demangle +# 5) Sparse check out valgrind coregrind/m_demangle into old_m_demangle echo "Checking out coregrind/m_demangle" -svn co svn://svn.valgrind.org/valgrind/trunk/coregrind/m_demangle old_m_demangle > /dev/null -rm -rf old_m_demangle/.svn +mkdir valgrind-sparse-clone +cd valgrind-sparse-clone +git init +git remote add origin -f git://sourceware.org/git/valgrind.git/ +git config core.sparsecheckout true +echo "coregrind/m_demangle/*" > .git/info/sparse-checkout +git pull origin master +cd .. +mv valgrind-sparse-clone/coregrind/m_demangle old_m_demangle +rm -rf valgrind-sparse-clone # 6) Create new_m_demangle cp -rp old_m_demangle new_m_demangle