[PATCH] D33490: Export the required symbol from DynamicLibraryTests

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 05:51:27 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL303979: Export the required symbol from DynamicLibraryTests (authored by rogfer01).

Changed prior to commit:
  https://reviews.llvm.org/D33490?vs=100061&id=100392#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33490

Files:
  llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt
  llvm/trunk/unittests/Support/DynamicLibrary/DynamicLibraryTests.exports


Index: llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt
===================================================================
--- llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt
+++ llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt
@@ -1,5 +1,6 @@
 set(LLVM_LINK_COMPONENTS Support)
 
+set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/DynamicLibraryTests.exports)
 add_llvm_unittest(DynamicLibraryTests DynamicLibraryTest.cpp)
 
 export_executable_symbols(DynamicLibraryTests)
Index: llvm/trunk/unittests/Support/DynamicLibrary/DynamicLibraryTests.exports
===================================================================
--- llvm/trunk/unittests/Support/DynamicLibrary/DynamicLibraryTests.exports
+++ llvm/trunk/unittests/Support/DynamicLibrary/DynamicLibraryTests.exports
@@ -0,0 +1 @@
+TestA


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33490.100392.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/66ed7622/attachment.bin>


More information about the llvm-commits mailing list