Commit 24f1685f authored by James Almer's avatar James Almer

Merge commit '44aa9105'

* commit '44aa9105':
  makedef: Fold as much text transformations as possible into the initial dump
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 87865bf6 44aa9105
...@@ -112,7 +112,10 @@ for line in $(cat ${vscript} | tr '\t' ' '); do ...@@ -112,7 +112,10 @@ for line in $(cat ${vscript} | tr '\t' ' '); do
' '
done done
dump=$(dumpbin -linkermember:1 ${libname}) dump=$(dumpbin -linkermember:1 ${libname} |
sed -e '/public symbols/,$!d' -e '/^ \{1,\}Summary/,$d' -e "s/ \{1,\}${prefix}/ /" -e 's/ \{1,\}/ /g' |
tail -n +2 |
cut -d' ' -f3)
rm ${libname} rm ${libname}
...@@ -121,9 +124,6 @@ list="" ...@@ -121,9 +124,6 @@ list=""
for exp in ${regex}; do for exp in ${regex}; do
list="${list}"' list="${list}"'
'$(echo "${dump}" | '$(echo "${dump}" |
sed -e '/public symbols/,$!d' -e '/^ \{1,\}Summary/,$d' -e "s/ \{1,\}${prefix}/ /" -e 's/ \{1,\}/ /g' |
tail -n +2 |
cut -d' ' -f3 |
grep "^${exp}" | grep "^${exp}" |
sed -e 's/^/ /') sed -e 's/^/ /')
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment