2 # we go through a bit of work to get the unmangled names of the
3 # typeinfo symbols because of
4 # http://sourceware.org/bugzilla/show_bug.cgi?id=10326
7 echo Usage: $0 header obj1 obj2 obj3
15 nm $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $3 ~ "Xapian.*Error" {print $3}' | sort | uniq | \
17 demangled=$(c++filt $sym)
26 nm $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $2 == "T" && $3 ~ "^get(line|delim)$" {print $3 ";"}'
27 sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/ \1;/p' $HEADER
28 printf "local: *;\n};\n"