unstack: filter for llvm internal symbols.
This commit is contained in:
parent
78ce6f86f7
commit
4ff8fdba57
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ shift
|
||||||
|
|
||||||
while [ $# -gt 0 ]
|
while [ $# -gt 0 ]
|
||||||
do dec="`printf %d $1`"
|
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 }
|
{ if($1 > '$dec') { printf "%s+0x%x\n", name, '$dec'-offset; exit }
|
||||||
name=$3; offset=$1
|
name=$3; offset=$1
|
||||||
}'
|
}'
|
||||||
|
|
Loading…
Reference in a new issue