[lld] fix test (PR #79018)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 09:35:23 PST 2024


https://github.com/OldWorldOrdr created https://github.com/llvm/llvm-project/pull/79018

Mistake with #78628 that got caught after being merged

>From fe12aa292b715c97ef7c04e7a1cc3a990a060d31 Mon Sep 17 00:00:00 2001
From: OldWorldOrdr <joey.t.reinhart at gmail.com>
Date: Mon, 22 Jan 2024 12:33:42 -0500
Subject: [PATCH] Update link-csu-object.s

---
 lld/test/MachO/link-csu-object.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lld/test/MachO/link-csu-object.s b/lld/test/MachO/link-csu-object.s
index e6f5ff7e52e3250..a36e50a8901bd0c 100644
--- a/lld/test/MachO/link-csu-object.s
+++ b/lld/test/MachO/link-csu-object.s
@@ -2,7 +2,7 @@
 # RUN: mkdir -p %t
 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %p/Inputs/libhello.s -o %t/hello.o
 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t/main.o
-# RUN: %lld -L %t %t/main.o %t/hello.o -o %t/a.out
+# RUN: %lld -L %t %t/main.o -lhello.o -o %t/a.out
 # RUN: llvm-nm %t/a.out | FileCheck %s
 
 # CHECK: _main



More information about the llvm-commits mailing list