[llvm] [ORC] Rename ConnectionSpec's fd transport to socket:adopt (PR #225075)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 06:30:40 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 -- llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp llvm/include/llvm/ExecutionEngine/Orc/Shared/ConnectionSpec.h llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp llvm/tools/llvm-jitlink/llvm-jitlink.cpp llvm/unittests/ExecutionEngine/Orc/ConnectionSpecTest.cpp --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/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
index 265da5003..0e7e2c242 100644
--- a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
+++ b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
@@ -89,7 +89,8 @@ launchLocalExecutor(StringRef ExecutablePath) {
 
     std::string ExecPath = ExecutablePath.str();
     std::string TestOutputFlag = "test-jitloadergdb";
-    std::string ConnSpec = "socket:adopt=" + std::to_string(Sockets[ChildSocket]);
+    std::string ConnSpec =
+        "socket:adopt=" + std::to_string(Sockets[ChildSocket]);
     char *const Args[] = {ExecPath.data(), TestOutputFlag.data(),
                           ConnSpec.data(), nullptr};
     int RC = execvp(ExecutablePath.data(), Args);

``````````

</details>


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


More information about the llvm-commits mailing list