[all-commits] [llvm/llvm-project] c1a137: [lldb] Add Options to LINK_COMPONENTS

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Sep 23 03:59:15 PDT 2026


  Branch: refs/heads/users/kparzysz/lldb-link
  Home:   https://github.com/llvm/llvm-project
  Commit: c1a1374161d851ce2c7ea18fa423e3eb1b05717c
      https://github.com/llvm/llvm-project/commit/c1a1374161d851ce2c7ea18fa423e3eb1b05717c
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
    M lldb/unittests/Callback/CMakeLists.txt
    M lldb/unittests/Core/CMakeLists.txt
    M lldb/unittests/Interpreter/CMakeLists.txt
    M lldb/unittests/Platform/CMakeLists.txt
    M lldb/unittests/Process/CMakeLists.txt
    M lldb/unittests/Process/gdb-remote/CMakeLists.txt
    M lldb/unittests/Protocol/CMakeLists.txt
    M lldb/unittests/Target/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Add Options to LINK_COMPONENTS

This fixes shared library build of lldb:
```
/usr/bin/ld: lib/liblldbPluginPlatformMacOSX.a(PlatformDarwin.cpp.o): undefined reference to symbol '_ZNK4llvm3opt8OptTable9getOptionENS0_12OptSpecifierE'
/usr/bin/ld: /work/kparzysz/git/llvm.org/b/x86/lib/libLLVMOption.so.24.0git: error adding symbols: DSO missing from command line
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```

And several other cases in unittests.



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