[lld] cf29a92 - [lld][MachO] Fix typo in special-symbol-ld-previous.s

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 5 01:30:26 PDT 2021


Author: Alexander Shaposhnikov
Date: 2021-06-05T01:27:42-07:00
New Revision: cf29a92b9026a901855ce6998dc96d796c24c57e

URL: https://github.com/llvm/llvm-project/commit/cf29a92b9026a901855ce6998dc96d796c24c57e
DIFF: https://github.com/llvm/llvm-project/commit/cf29a92b9026a901855ce6998dc96d796c24c57e.diff

LOG: [lld][MachO] Fix typo in special-symbol-ld-previous.s

Fix typo in the test special-symbol-ld-previous.s. NFC.

Added: 
    

Modified: 
    lld/test/MachO/special-symbol-ld-previous.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/special-symbol-ld-previous.s b/lld/test/MachO/special-symbol-ld-previous.s
index 62d6272d45fc..3c01bc9cc6ab 100644
--- a/lld/test/MachO/special-symbol-ld-previous.s
+++ b/lld/test/MachO/special-symbol-ld-previous.s
@@ -14,14 +14,14 @@
 ## Case 2: special symbol $ld$previous does not affect the install name / compatibility version
 ## since the specified version 2.0.0 is lower than the affected range [3.0, 14.0).
 
-# RUN: %lld -o %t/libfoo2.dylib %t/libLDPreviousInstallName.tbd %t.o -dylib -platform_version macos 2.0.0 2.0.0
+# RUN: %lld -o %t/libfoo2.dylib %t/libLDPreviousInstallName.tbd %t/foo.o -dylib -platform_version macos 2.0.0 2.0.0
 # RUN: llvm-objdump --macho --dylibs-used %t/libfoo2.dylib | FileCheck --check-prefix=CASE2 %s
 # CASE2: /Old (compatibility version 1.1.1, current version 5.0.0)
 
 ## Case 3: special symbol $ld$previous does not affect the install name / compatibility version
 ## since the specified version 14.0.0 is higher than the affected range [3.0, 14.0).
 
-# RUN: %lld -o %t/libfoo3.dylib %t/libLDPreviousInstallName.tbd %t.o -dylib -platform_version macos 2.0.0 2.0.0
+# RUN: %lld -o %t/libfoo3.dylib %t/libLDPreviousInstallName.tbd %t/foo.o -dylib -platform_version macos 2.0.0 2.0.0
 # RUN: llvm-objdump --macho --dylibs-used %t/libfoo3.dylib | FileCheck --check-prefix=CASE3 %s
 # CASE3: /Old (compatibility version 1.1.1, current version 5.0.0)
 


        


More information about the llvm-commits mailing list