================
@@ -1190,7 +1194,8 @@ class Triple {
 
   /// True if the target uses TLSDESC by default.
   bool hasDefaultTLSDESC() const {
-    return isAArch64() || (isAndroid() && isRISCV64()) || isOSFuchsia();
+    return isAArch64() || (isAndroid() && isRISCV64()) || isOSFuchsia() ||
+           (isX86() && isLFI());
----------------
zyedidia wrote:

This will enable TLSDESC for any LFI target, which I suppose is fine especially 
since it is already enabled by default on AArch64, and we would probably want 
it on any additional architectures in the future anyway.

https://github.com/llvm/llvm-project/pull/189569
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to