[Lldb-commits] [lldb] [lldb][test] Enable static linking with libcxx for import-std-module tests (PR #98701)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 12 16:48:04 PDT 2024
================
@@ -1,3 +1,8 @@
USE_LIBCPP := 1
CXX_SOURCES := main.cpp
+
+ifneq ($(OS),Darwin)
+ LD_EXTRAS := -Xlinker --whole-archive -Xlinker --allow-multiple-definition
----------------
Michael137 wrote:
Can you elaborate on why this is necessary? Example test failures would be great
https://github.com/llvm/llvm-project/pull/98701
More information about the lldb-commits
mailing list