[all-commits] [llvm/llvm-project] 5dfe86: [clang-repl] Add CLANG_ENABLE_EMUTLS_GET_ADDRESS c...

Pranav Kant via All-commits all-commits at lists.llvm.org
Mon Sep 21 12:18:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dfe8605911e3f0f43fe2b5c08b4ffc23f2af37a
      https://github.com/llvm/llvm-project/commit/5dfe8605911e3f0f43fe2b5c08b4ffc23f2af37a
  Author: Pranav Kant <prka at google.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/include/clang/Config/config.h.cmake
    M clang/lib/Interpreter/IncrementalExecutor.cpp
    M llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
    M utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h

  Log Message:
  -----------
  [clang-repl] Add CLANG_ENABLE_EMUTLS_GET_ADDRESS cmake option (#217700)

Guard the extern "C" declaration and reference to __emutls_get_address
in IncrementalExecutor.cpp behind a new CMake option
CLANG_ENABLE_EMUTLS_GET_ADDRESS, which is OFF by default.

This prevents link errors in environments/runtimes where
__emutls_get_address is not available.

Replace all other guards with the new cmake option.



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