[llvm] [llvm] update a few llvm unit tests to link statically (PR #145448)

Andrew Rogers via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 08:19:54 PDT 2025


================
@@ -48,8 +48,10 @@ add_llvm_unittest(CodeGenTests
   TestAsmPrinter.cpp
   MLRegAllocDevelopmentFeatures.cpp
   X86MCInstLowerTest.cpp
+
+  DISABLE_LLVM_LINK_LLVM_DYLIB
----------------
andrurogerz wrote:

@mk based on this feedback, I think I will go with the alternative approach (#145767) and export private symbols instead of making these tests link statically.

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


More information about the llvm-commits mailing list