This is an archive of the discontinued LLVM Phabricator instance.

Fix an issue that lld drops symbol versions for -r.
ClosedPublic

Authored by ruiu on Feb 14 2018, 11:25 AM.

Details

Summary

When we are emitting a relocatable output, we should keep the original
symbol name including "@" part. Previously, we drop that part unconditionally
which resulted in dropping versions from symbols.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Feb 14 2018, 11:25 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 14 2018, 6:44 PM
This revision was automatically updated to reflect the committed changes.