Skip to content

Drop "slim" symbols

Emmanuele Bassi requested to merge ebassi/cairo:no-slim-symbols into master

The original "slim" symbol rewriting was added without any shred of a set of performance evaluation, and mostly copy-pasted from a very early version of pixman. Pixman itself does not use them any more, and most libraries—like GTK—have dropped similar mechanisms over the past 10 years.

On the downside: public symbols need weird additional "annotations" that are easy to forget.

Modern linkers provide functionality to avoid intra-library PLT jump through flags like -Bsymbolic-functions; we should use that, instead, and keep the code base more maintainable.

Edited by Emmanuele Bassi

Merge request reports

Loading