[compiler-rt] 04f0adc - [compiler-rt][memprof] Do not add libdl to MEMPROF_UNITTEST_LINK_LIBRARIES (#98221)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 16:19:58 PDT 2024


Author: Alexander Shaposhnikov
Date: 2024-07-09T16:19:55-07:00
New Revision: 04f0adcd58baa530b13472a897b422fae46abfa2

URL: https://github.com/llvm/llvm-project/commit/04f0adcd58baa530b13472a897b422fae46abfa2
DIFF: https://github.com/llvm/llvm-project/commit/04f0adcd58baa530b13472a897b422fae46abfa2.diff

LOG: [compiler-rt][memprof] Do not add libdl to MEMPROF_UNITTEST_LINK_LIBRARIES (#98221)

Remove unnecessary dependency.

Test plan: ninja check-all

Added: 
    

Modified: 
    compiler-rt/lib/memprof/tests/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/memprof/tests/CMakeLists.txt b/compiler-rt/lib/memprof/tests/CMakeLists.txt
index 0b5c302a4ce5d..a35f12bc14265 100644
--- a/compiler-rt/lib/memprof/tests/CMakeLists.txt
+++ b/compiler-rt/lib/memprof/tests/CMakeLists.txt
@@ -49,7 +49,6 @@ endif()
 set(MEMPROF_UNITTEST_LINK_LIBRARIES
   ${COMPILER_RT_UNWINDER_LINK_LIBS}
   ${SANITIZER_TEST_CXX_LIBRARIES})
-append_list_if(COMPILER_RT_HAS_LIBDL -ldl MEMPROF_UNITTEST_LINK_LIBRARIES)
 
 # Adds memprof tests for each architecture.
 macro(add_memprof_tests_for_arch arch)


        


More information about the llvm-commits mailing list