summaryrefslogtreecommitdiff
path: root/dependencies/analyses/nm-symbols-analysis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dependencies/analyses/nm-symbols-analysis.sh')
-rwxr-xr-xdependencies/analyses/nm-symbols-analysis.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/dependencies/analyses/nm-symbols-analysis.sh b/dependencies/analyses/nm-symbols-analysis.sh
index 924246715..361b746e4 100755
--- a/dependencies/analyses/nm-symbols-analysis.sh
+++ b/dependencies/analyses/nm-symbols-analysis.sh
@@ -5,11 +5,5 @@ if test "$#" -ne 1; then
exit 1
fi
-DATA=$(go tool nm -size "$1" \
- | awk 'NF==4 {printf "%s\t%s\t%s\n", $2, $3, $4}' \
- | grep -v -P "\t_\t" \
- | grep -P "\tt\t" \
- | awk ' {printf "%s\t\t%s\n", $1, $3} ' \
- )
-
-echo "$DATA"
+go tool nm -size "$1" \
+ | awk 'NF==4 && $3=="t" {printf "%s\t\t%s\n", $2, $4}'