From: Ben Gras Date: Mon, 12 Jul 2010 17:03:29 +0000 (+0000) Subject: unstack: filter for llvm internal symbols. X-Git-Tag: v3.1.8~258 X-Git-Url: http://zhaoyanbai.com/repos/doc/roff.7.html?a=commitdiff_plain;h=4ff8fdba571f6e6f9c0d54450ee8b45f2e2cc701;p=minix.git unstack: filter for llvm internal symbols. --- diff --git a/commands/unstack/unstack.sh b/commands/unstack/unstack.sh index db3f32e9d..cc6eb49df 100644 --- a/commands/unstack/unstack.sh +++ b/commands/unstack/unstack.sh @@ -18,7 +18,7 @@ shift while [ $# -gt 0 ] do dec="`printf %d $1`" - $NM -n $executable | grep ' [Tt] ' | awk ' + $NM -n $executable | grep ' [Tt] [^.]' | awk ' { if($1 > '$dec') { printf "%s+0x%x\n", name, '$dec'-offset; exit } name=$3; offset=$1 }'