[llvm] [llvm-install-name-tool] Error on non-Mach-O binaries (PR #90351)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 09:38:38 PDT 2024


================
@@ -0,0 +1,26 @@
+## This test checks general llvm-install-name-tool behavior
+
+# RUN: yaml2obj %s -o %t
+
+## Passing a non-Mach-O binary
+# RUN: not llvm-install-name-tool -add_rpath foo %t 2>&1 | FileCheck %s --check-prefix=NON_MACH_O
----------------
keith wrote:

this tool overwrites the passed output, so it has to exist before and still will after

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


More information about the llvm-commits mailing list