[all-commits] [llvm/llvm-project] 71b3b3: [Clang] [MS] Add /Zc:tlsGuards option to control t...

Maurice Heumann via All-commits all-commits at lists.llvm.org
Sat Nov 16 08:16:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71b3b32c6ec8e4691b67b2571b4f44cdd15cb588
      https://github.com/llvm/llvm-project/commit/71b3b32c6ec8e4691b67b2571b4f44cdd15cb588
  Author: Maurice Heumann <MauriceHeumann at gmail.com>
  Date:   2024-11-16 (Sat, 16 Nov 2024)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGenCXX/ms-thread_local.cpp
    M clang/test/Driver/cl-zc.cpp

  Log Message:
  -----------
  [Clang] [MS] Add /Zc:tlsGuards option to control tls guard emission (#113830)

This adds an option to control whether guards for on-demand TLS
initialization in combination with Microsoft's CXX ABI are emitted or
not.
The behaviour should match with Microsoft:
https://learn.microsoft.com/en-us/cpp/build/reference/zc-tlsguards?view=msvc-170

This fixes #103484



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list