[clang] [clang][driver] Add -mtls-dialect option (PR #79031)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 10:53:15 PST 2024


================
@@ -72,6 +72,11 @@ class CodeGenOptions : public CodeGenOptionsBase {
     LocalExecTLSModel
   };
 
+  enum TLSDialect {
----------------
MaskRay wrote:

Prefer enum class (I think it has been more popular in other parts of Clang, perhaps CodeGen/Sema). `TLSDialect::TraditionalDynamic` and `TLSDialect::TLSDesc`

https://github.com/llvm/llvm-project/pull/79031


More information about the cfe-commits mailing list