[all-commits] [llvm/llvm-project] e4828a: [clang-doc] Wrap per thread arenas in an accessor ...

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Jun 4 12:44:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4828aa1eabba8905cb878d07e5e956b5cc0e165
      https://github.com/llvm/llvm-project/commit/e4828aa1eabba8905cb878d07e5e956b5cc0e165
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M clang-tools-extra/clang-doc/BitcodeReader.cpp
    M clang-tools-extra/clang-doc/Mapper.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/clang-doc/Serialize.cpp
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    M clang-tools-extra/unittests/clang-doc/MergeTest.cpp

  Log Message:
  -----------
  [clang-doc] Wrap per thread arenas in an accessor for BUILD_SHARED (#201388)

It seems like for BUILD_SHARED builds of the toolchain on Windows,
specifically aarch64-windows-gnu hosts, the use of the `thread_local`
variables in Representation.cpp causes an issue at link time due to
non-explicit export. Instead, just wrap them in an accessor function,
which should solve the issue in a cross platform way.

Fixes #200915



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