This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Added testcase for testing visibility of weak_odr symbols.
ClosedPublic

Authored by grimar on Feb 12 2018, 7:45 AM.

Details

Summary

This is relative to "Bug 36166 - tools/gold/X86/comdat.ll is failing only on Debian Unstable" (PR36166).
Something changed in newer versions of gold and now together with gold-plugin
there is an issue shown in PR, symbol may get wrong visibility.

LLD works fine, but we have no testcase for the same use case, and I
suggest to add it just in case to explicitly document the behavior.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

grimar created this revision.Feb 12 2018, 7:45 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 23 2018, 2:10 AM
This revision was automatically updated to reflect the committed changes.