[all-commits] [llvm/llvm-project] 55f4ff: [cmake] Add llvm-readobj before lldb (#202715)

Himadhith via All-commits all-commits at lists.llvm.org
Tue Jun 9 23:27:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55f4ff4306e1c64f08f5ee58164b49cee3d461fc
      https://github.com/llvm/llvm-project/commit/55f4ff4306e1c64f08f5ee58164b49cee3d461fc
  Author: Himadhith <79003240+Himadhith at users.noreply.github.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/tools/CMakeLists.txt

  Log Message:
  -----------
  [cmake] Add llvm-readobj before lldb (#202715)

After #199152, following CMake error is found when building llvm-lit:

```
CMake Error at cmake/modules/AddLLVM.cmake:2816 (get_target_property):
  get_target_property() called with non-existent target "llvm-readobj".
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1513 (get_host_tool_path)
  cmake/modules/AddLLVM.cmake:1556 (export_executable_symbols)
  tools/llvm-lto2/CMakeLists.txt:27 (export_executable_symbols_for_plugins)
```
Fixed by adding llvm-readobj before lldb. (Similar to
https://github.com/llvm/llvm-project/pull/201648)

Co-authored-by: himadhith <himadhith.v at ibm.com>



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