|
Last change
on this file was
12437,
checked in by westram, 12 years ago
|
- merge unittest-fixes from 'alilink' into 'trunk'
- adds:
|
-
Property svn:executable set to
*
|
|
File size:
582 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | FULLLIB=$1 |
|---|
| 3 | SYMLIST=$2 |
|---|
| 4 | |
|---|
| 5 | # nm is unabled to demangle names on os x. use c++filt instead for the job |
|---|
| 6 | DUMP_SYMBOLS="nm -l $FULLLIB | c++filt > $SYMLIST" |
|---|
| 7 | |
|---|
| 8 | # temp workaround for using gcc 4.8 on dwarf 3 system |
|---|
| 9 | ( eval "$DUMP_SYMBOLS" ) 2>&1 \ |
|---|
| 10 | | grep -v "Dwarf Error: Invalid or unhandled FORM value" \ |
|---|
| 11 | | grep -v "this reader only handles version 2 and 3 information" \ |
|---|
| 12 | | grep -v "this reader can not handle sizes greater than '8'" \ |
|---|
| 13 | | grep -v "this reader can only handle address sizes '2', '4' and '8'" \ |
|---|
| 14 | |
|---|
| 15 | if (( ${PIPESTATUS[0]} )); then false; else true; fi |
|---|
| 16 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.