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

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 11:58:05 PST 2024


================
@@ -401,6 +401,8 @@ static bool initTargetOptions(DiagnosticsEngine &Diags,
   Options.UniqueBasicBlockSectionNames =
       CodeGenOpts.UniqueBasicBlockSectionNames;
   Options.TLSSize = CodeGenOpts.TLSSize;
+  // TODO: Add correct codegen options in LLVM
+  // Options.TLSDesc = CodeGenOpts.getDefaultTLSDialect();
----------------
ilovepi wrote:

Agreed.

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


More information about the cfe-commits mailing list