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