[clang] [llvm] [clang-repl] Add CLANG_ENABLE_EMUTLS_GET_ADDRESS cmake option (PR #217700)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 11:46:04 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- clang/lib/Interpreter/IncrementalExecutor.cpp utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Interpreter/IncrementalExecutor.cpp b/clang/lib/Interpreter/IncrementalExecutor.cpp
index 456342575..387ab5721 100644
--- a/clang/lib/Interpreter/IncrementalExecutor.cpp
+++ b/clang/lib/Interpreter/IncrementalExecutor.cpp
@@ -71,8 +71,9 @@
 // in a static archive and nothing else references it, it is never linked in and
 // ORC's process-symbol lookup cannot resolve it. Referencing it here
 // force-links the archive member so it is present regardless of how the host
-// provides it. Defined if available at configure time (CLANG_HAVE_EMUTLS_GET_ADDRESS).
-// When unavailable, thread_locals instead rely on process-symbol lookup.
+// provides it. Defined if available at configure time
+// (CLANG_HAVE_EMUTLS_GET_ADDRESS). When unavailable, thread_locals instead rely
+// on process-symbol lookup.
 #if CLANG_HAVE_EMUTLS_GET_ADDRESS
 extern "C" void *__emutls_get_address(void *);
 static void *getEmuTLSGetAddressPtr() {

``````````

</details>


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


More information about the llvm-commits mailing list