This is an archive of the discontinued LLVM Phabricator instance.

Handle versioned undefined symbols
ClosedPublic

Authored by rafael on Jan 6 2017, 8:20 AM.

Details

Reviewers
ruiu
pcc
Summary

In order to keep symbol lookup a simple name lookup this patch adds versioned symbols with an explicit @ to the symbol table.

This fixes PR31495.

Diff Detail

Event Timeline

rafael updated this revision to Diff 83368.Jan 6 2017, 8:20 AM
rafael retitled this revision from to Handle versioned undefined symbols.
rafael updated this object.
rafael added reviewers: ruiu, pcc.
rafael updated this object.
rafael added a subscriber: llvm-commits.
pcc accepted this revision.Jan 6 2017, 1:03 PM
pcc edited edge metadata.

LGTM

Since I've been thinking about copy relocations recently: I wonder whether there's anything we need to/can do about copy relocations with this change? It isn't possible to preempt a specific version of a symbol in another DSO, is it?

This revision is now accepted and ready to land.Jan 6 2017, 1:03 PM
espindola closed this revision.Mar 14 2018, 4:28 PM
espindola added a subscriber: espindola.

291293