[libunwind] [libunwind][test] Add check for objcopy to improve test compatibility (PR #161112)

Florian Mayer via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 10:51:25 PDT 2025


================
@@ -33,3 +34,13 @@ config.substitutions.append(('%{install-prefix}', '@LIBUNWIND_TESTING_INSTALL_PR
 config.substitutions.append(('%{include}', '@LIBUNWIND_TESTING_INSTALL_PREFIX@/include'))
 config.substitutions.append(('%{lib}', '@LIBUNWIND_TESTING_INSTALL_PREFIX@/@LIBUNWIND_INSTALL_LIBRARY_DIR@'))
 config.substitutions.append(('%{benchmark_flags}', ''))
+
+# Check for objcopy tools
+objcopy_path = which('objcopy')
----------------
fmayer wrote:

+1

https://github.com/llvm/llvm-project/pull/161112


More information about the cfe-commits mailing list