[lld] fix test (PR #79018)

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lld-macho

@llvm/pr-subscribers-lld

Author: None (OldWorldOrdr)

<details>
<summary>Changes</summary>

Mistake with #<!-- -->78628 that got caught after being merged

---
Full diff: https://github.com/llvm/llvm-project/pull/79018.diff


1 Files Affected:

- (modified) lld/test/MachO/link-csu-object.s (+1-1) 


``````````diff
diff --git a/lld/test/MachO/link-csu-object.s b/lld/test/MachO/link-csu-object.s
index e6f5ff7e52e325..a36e50a8901bd0 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

``````````

</details>


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


More information about the llvm-commits mailing list