mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
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:
committed by
Xiang Xiao
parent
f6f826c09a
commit
30a1b4e359
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user