aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-01-22 08:54:54 +0100
committerGitHub <noreply@github.com>2025-01-22 07:54:54 +0000
commit4c6242ebf50dde0597df2bace49d534b61122496 (patch)
treea0ecb9ad68107f1727591d60ea32ef21d9ccd407 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentd839c06719128700bdd033361b20aa6899f6620a (diff)
downloadllvm-4c6242ebf50dde0597df2bace49d534b61122496.zip
llvm-4c6242ebf50dde0597df2bace49d534b61122496.tar.gz
llvm-4c6242ebf50dde0597df2bace49d534b61122496.tar.bz2
[mlir] Link libraries that aren't included in libMLIR to libMLIR (#123781)
Use `mlir_target_link_libraries()` to link dependencies of libraries that are not included in libMLIR, to ensure that they link to the dylib when they are used in Flang. Otherwise, they implicitly pull in all their static dependencies, effectively causing Flang binaries to simultaneously link to the dylib and to static libraries, which is never a good idea. I have only covered the libraries that are used by Flang. If you wish, I can extend this approach to all non-libMLIR libraries in MLIR, making MLIR itself also link to the dylib consistently. [v2 with fixed `-DBUILD_SHARED_LIBS=ON` build]
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions