[llvm] [orc-rt] Drop redundant DEFINE_SYMBOL ORC_RT_TEST_DLL_EXPORTS (PR #225685)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 04:01:43 PDT 2026


https://github.com/lhames created https://github.com/llvm/llvm-project/pull/225685

ORC_RT_TEST_DLL_EXPORTS was already defined in the previous block.

>From b8a640ae9323b033bcfd089cc8fb4fdf37a71720 Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at gmail.com>
Date: Wed, 23 Sep 2026 20:59:36 +1000
Subject: [PATCH] [orc-rt] Drop redundant DEFINE_SYMBOL ORC_RT_TEST_DLL_EXPORTS

ORC_RT_TEST_DLL_EXPORTS was already defined in the previous block.
---
 orc-rt/test/unit/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/orc-rt/test/unit/CMakeLists.txt b/orc-rt/test/unit/CMakeLists.txt
index cd59ca6849358..da159109f84d6 100644
--- a/orc-rt/test/unit/CMakeLists.txt
+++ b/orc-rt/test/unit/CMakeLists.txt
@@ -164,9 +164,6 @@ set_target_properties(RTTICrossDylibTestLib PROPERTIES
   DEFINE_SYMBOL ORC_RT_TEST_DLL_EXPORTS
   FOLDER "orc-rt/Tests")
 
-set_target_properties(RTTICrossDylibTestLib PROPERTIES
-  DEFINE_SYMBOL ORC_RT_TEST_DLL_EXPORTS)
-
 target_compile_options(RTTICrossDylibTestLib PRIVATE ${ORC_RT_COMPILE_FLAGS})
 
 target_link_libraries(RTTICrossDylibTestLib



More information about the llvm-commits mailing list