Inform Clang that TLS is implemented by LLVM for RISC-V
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
lib/Basic/Targets/RISCV.h | ||
---|---|---|
37–38 | With the exception of SystemZTargetInfo, all CPU target info classes rely on the base already initialising it to true by default, so you can just delete this line. |
Comment Actions
Could you add a test for this? I'm not sure if this is best done with a test that uses __has_feature or otherwise (I note other targets don't seem to have similar tests currently), but I think it would be handy.
With the exception of SystemZTargetInfo, all CPU target info classes rely on the base already initialising it to true by default, so you can just delete this line.