[all-commits] [llvm/llvm-project] 1cb831: [lldb][test] Remove objcopy detection from API tes...

Vladislav Dzhidzhoev via All-commits all-commits at lists.llvm.org
Mon Oct 14 17:36:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cb83147801a4b4bac193e1aa94a05853ab09c68
      https://github.com/llvm/llvm-project/commit/1cb83147801a4b4bac193e1aa94a05853ab09c68
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M lldb/test/API/CMakeLists.txt

  Log Message:
  -----------
  [lldb][test] Remove objcopy detection from API tests' CMakeLists.txt (#111977)

This commit essentially reverts https://reviews.llvm.org/D30453.

In #109961, objcopy util search code was added to dotest.py. dotest.py
should use llvm-X by default if no path to a utility X is provided
externally.

However, it doesn't work out for llvm-objcopy, since objcopy path is
always overridden with the lines being removed here. It causes a problem
with cross-platform testing when objcopy used by cmake doesn't support
targets/executable file formats other than native.

I suppose these lines are unnecessary after #109961, so they can be
safely removed.



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