This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by mstorsjo on Dec 2 2017, 1:29 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.

Diff Detail

Repository
rL LLVM

Event Timeline

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

Please add a test case with emulated TLS on Darwin as -femulated-tls will now lower with emulated TLS on Darwin too.

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