[all-commits] [llvm/llvm-project] d36b4a: [bazel] Rework liblldb (#91549)
Keith Smiley via All-commits
all-commits at lists.llvm.org
Thu May 9 13:14:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d36b4abb51a9f84d436f184581b15021fdf22114
https://github.com/llvm/llvm-project/commit/d36b4abb51a9f84d436f184581b15021fdf22114
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Rework liblldb (#91549)
Previously we were linking liblldb as a shared library, but also linking
the contents into the lldb binary. This is invalid and results in subtle
runtime issues because of duplicate constants, like the global plugin
registry. This now links the dylib to lldb directly. This requires we
switch to cc_binary instead because cc_shared_library expects your
library to export all symbols in your transitive dependency tree, where
we only want to export lldb symbols.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list