[PATCH] D21732: [ELF] Initial support for wildcard in symbol versions

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 01:10:13 PDT 2016


davide added a comment.

FWIW, I think we should bit the bullet and implement also generalized wildcard matching.
When I was taking a shot at the libreoffice version scripts I found:

  _ZThn*_N4cppu30WeakAggComponentImplHelperBase7acquireEv;
  _ZThn*_N4cppu30WeakAggComponentImplHelperBase7disposeEv;
  _ZThn*_N4cppu30WeakAggComponentImplHelperBase7releaseEv;
  _ZThn*_N4cppu16OComponentHelper14queryInterfaceERKN3com3sun4star3uno4TypeE;
  _ZThn*_N4cppu16OComponentHelper16addEventListenerERKN3com3sun4star3uno9ReferenceINS3_4lang14XEventListenerEEE;
  _ZThn*_N4cppu16OComponentHelper19removeEventListenerERKN3com3sun4star3uno9ReferenceINS3_4lang14XEventListenerEEE;
  _ZThn*_N4cppu16OComponentHelper7acquireEv;
  _ZThn*_N4cppu16OComponentHelper7disposeEv;
  _ZThn*_N4cppu16OComponentHelper7releaseEv;
  _ZThn*_N4cppu18OPropertySetHelper14queryInterfaceERKN3com3sun4star3uno4TypeE;
  _ZThn*_N4cppu18OPropertySetHelper20getFastPropertyValueE?;
  _ZThn*_N4cppu18OPropertySetHelper20setFastPropertyValueE?RKN3com3sun4star3uno3AnyE;
  _ZThn*_N4cppu18OPropertySetHelper16getPropertyValueERKN3rtl8OUStringE;

There are also some of them which use `?` matching, e.g.:

  # Introducing a question mark at the end because of
  # marginal type discrepancy there is a difference in the
  # mangled name between Linux and Mac OS X, see #i69351#
  _ZN9salhelper21SimpleReferenceObjectnwE?; # salhelper::SimpleReferenceObject::operator new (std::size_t)


http://reviews.llvm.org/D21732





More information about the llvm-commits mailing list