[PATCH] D143708: [RISCV] Add emulated TLS supported

Brad Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 20:15:17 PST 2023


brad added a comment.

In D143708#4133064 <https://reviews.llvm.org/D143708#4133064>, @MaskRay wrote:

> I have a mild objection but I am fine if my opinion is overthrown. I think OpenBSD developers should take on the work to migrate to ELF TLS, not using this definitely.
>
> `-femulated-tls` can be used for the current `*-linux-android*` and `*-openbsd*` target triples, and OpenBSD RISC-V, but not others. The test should be changed to use openbsd, not linux-gnu.
>
> If we ever encounter features using TLS that are difficult to work with emulated TLS, acceptance of this patch doesn't mean that we want to accept additional complexity.

It's easier said that done. I have been asking about this going back like 15 years and it's basically silence from the relevant developers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143708/new/

https://reviews.llvm.org/D143708



More information about the llvm-commits mailing list