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

Andrew Rogers via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 12:31:36 PDT 2025


andrurogerz wrote:

@compnerd, @vgvassilev this patch works-around a few LLVM unit tests that use internal interfaces by linking them statically with the LLVM component libraries they depend on instead of against the LLVM DLL. There are already a number of unit tests that were already building this way. The alternative solution is to annotate some headers under llvm/lib with `LLVM_ABI` even though they're not part of the public ABI. I think the approach in this PR is preferable, but I would appreciate your feedback. Thanks!

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


More information about the llvm-commits mailing list