mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
[LowerEmuTls] Copy dso_local from <var> to __emutls_v.<var>
This effect is not testable until we drop the implied dso_local for ELF static/PIE defined symbols from TargetMachine::shouldAssumeDSOLocal.
This commit is contained in:
parent
69b323b913
commit
70d6d6eed0
@ -44,6 +44,7 @@ private:
|
||||
GlobalVariable *to) {
|
||||
to->setLinkage(from->getLinkage());
|
||||
to->setVisibility(from->getVisibility());
|
||||
to->setDSOLocal(from->isDSOLocal());
|
||||
if (from->hasComdat()) {
|
||||
to->setComdat(M.getOrInsertComdat(to->getName()));
|
||||
to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind());
|
||||
|
Loading…
Reference in New Issue
Block a user