From 4ff8fdba571f6e6f9c0d54450ee8b45f2e2cc701 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 12 Jul 2010 17:03:29 +0000 Subject: [PATCH] unstack: filter for llvm internal symbols. --- commands/unstack/unstack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }' -- 2.44.0