This is an archive of the discontinued LLVM Phabricator instance.

[ELF2] Check for TLS mismatch in symbol resolution.
ClosedPublic

Authored by ikudrin on Oct 8 2015, 3:55 AM.

Details

Summary

The linker should generate an error if a TLS symbol is resolved for a non-TLS reference and vice versa.
The patch addresses PR24244.

Diff Detail

Event Timeline

ikudrin updated this revision to Diff 36843.Oct 8 2015, 3:55 AM
ikudrin retitled this revision from to [ELF2] Check for TLS mismatch in symbol resolution..
ikudrin updated this object.
ikudrin added reviewers: rafael, ruiu.
ikudrin added a project: lld.
ikudrin added a subscriber: llvm-commits.
ruiu accepted this revision.Oct 8 2015, 2:48 PM
ruiu edited edge metadata.

LGTM

ELF/SymbolTable.cpp
178–179

Move Message to the beginning of the parameter list.

This revision is now accepted and ready to land.Oct 8 2015, 2:48 PM
This revision was automatically updated to reflect the committed changes.