This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Allow using emulated tls on platforms other than ELF
ClosedPublic

Authored by mstorsjo on Dec 2 2017, 1:31 PM.

Details

Summary

This matches how it is done on X86.

This allows using emulated tls on windows; in MinGW environments, native tls isn't supported at the moment.

Set the right Data*bitsDirective to match the existing tests for other platforms. Make parts of the existing tests a regex, to allow matching .section .rdata for windows, to avoid having to duplicate the rest of the tests.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Dec 2 2017, 1:31 PM
compnerd accepted this revision.Dec 3 2017, 10:21 PM

Please add a MachO test as this enables emulated TLS on MachO as well.

This revision is now accepted and ready to land.Dec 3 2017, 10:21 PM
This revision was automatically updated to reflect the committed changes.