tools/mkallsyms.sh: Make it work with llvm
The llvm version of c++filt doesn't have -p option. Use sed instead.
This commit is contained in:
parent
f6f826c09a
commit
30a1b4e359
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ if [ -f "${1}" ];then
|
|||
${nm} -n ${1} | grep -E " [T|t] " | uniq | \
|
||||
while read addr type name
|
||||
do
|
||||
echo " { \"`${filt} -p $name`\", (FAR ${CONST} void *)0x$addr },"
|
||||
echo " { \"$(${filt} $name | sed -e "s/(.*)$//")\", (FAR ${CONST} void *)0x$addr },"
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue