[llvm] Revert "[llvm-jitlink] Explicit exports for builtin runtime functions in MinGW executables" (PR #127297)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 14 19:59:00 PST 2025
https://github.com/dyung created https://github.com/llvm/llvm-project/pull/127297
Reverts llvm/llvm-project#107375
This was causing a build bot failure (https://lab.llvm.org/buildbot/#/builders/201/builds/2954) and also breaks building with VS2019. See https://github.com/llvm/llvm-project/pull/107375#issuecomment-2660709198 for details.
>From 8b59f1236250039df01041dd306a7932333cece0 Mon Sep 17 00:00:00 2001
From: dyung <douglas.yung at sony.com>
Date: Fri, 14 Feb 2025 22:57:16 -0500
Subject: [PATCH] =?UTF-8?q?Revert=20"[llvm-jitlink]=20Explicit=20exports?=
=?UTF-8?q?=20for=20builtin=20runtime=20functions=20in=20MinG=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit 085e21b8326ef2327ee6082930e63d9e127eb06c.
---
llvm/tools/llvm-jitlink/CMakeLists.txt | 27 --------------------------
1 file changed, 27 deletions(-)
diff --git a/llvm/tools/llvm-jitlink/CMakeLists.txt b/llvm/tools/llvm-jitlink/CMakeLists.txt
index d15b858c6c9a9..e337fe5f99865 100644
--- a/llvm/tools/llvm-jitlink/CMakeLists.txt
+++ b/llvm/tools/llvm-jitlink/CMakeLists.txt
@@ -37,30 +37,3 @@ endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
target_link_libraries(llvm-jitlink PRIVATE socket)
endif()
-
-if(WIN32)
- set(builtin_runtime_functions
- llvm_orc_registerEHFrameSectionWrapper
- llvm_orc_deregisterEHFrameSectionWrapper
- llvm_orc_registerJITLoaderGDBWrapper
- llvm_orc_registerJITLoaderGDBAllocAction
- llvm_orc_registerJITLoaderPerfStart
- llvm_orc_registerJITLoaderPerfEnd
- llvm_orc_registerJITLoaderPerfImpl
- llvm_orc_registerVTuneImpl
- llvm_orc_unregisterVTuneImpl
- llvm_orc_test_registerVTuneImpl
- )
-
- foreach(entry IN LISTS builtin_runtime_functions)
- string(APPEND exports_multiline "${entry}\n")
- endforeach()
-
- set(file_stem ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llvm-jitlink)
- file(WRITE ${file_stem}.symbols ${exports_multiline})
- file(WRITE ${file_stem}.def "EXPORTS\n${exports_multiline}")
-
- add_llvm_symbol_exports(llvm-jitlink ${file_stem}.symbols)
-else()
- export_executable_symbols(llvm-jitlink)
-endif(WIN32)
More information about the llvm-commits
mailing list