> Hi Thomas, > > I got the duplicates with following command [1], does it make sense to > add this into one of the check scripts, -not sure which one? > > [1] > # for m in $(find . -name *_version.map); do for l in $(cat $m | sort | > uniq -d | grep -v global | grep -v local); do ll=$(echo $l | cut -d";" > -f1); git grep -q "VERSION_SYMBOL.$ll"; if [ $? -eq 1 ]; then echo $l; > fi; done; done >
I have started to write a script to check symbol export. Feel free to start a new script scripts/check-symbols.sh with this check for duplicated symbols in .map. I will add my checks later in this script. Thanks