mstorsjo added a comment.
Ok, thanks. Yes, this should probably only set it if some of those flags are
set here.
FWIW, clang also has got a list of targets where emulated TLS is enabled by
default - could this be omitted somehow, now that LLVM can handle that on its
own?
Repository:
rC Cla
chh commandeered this revision.
chh edited reviewers, added: mstorsjo; removed: chh.
chh added a comment.
I will upload a different fix soon.
We should set ExplicitEmulatedTLS only when -f[no-]emulated-tls flag is found
at command line.
Any front-end should only pass the flag and let backend deci
mstorsjo created this revision.
mstorsjo added reviewers: chh, jyknight.
Since LLVM r326341, this is needed for the backend to actually respect the
EmulatedTLS flag that is set, otherwise it just uses the target default flag
instead.
Repository:
rC Clang
https://reviews.llvm.org/D43965
Fil