[lld] 396f2e9 - [lld/mac] Make tbd files in one test valid

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 08:14:09 PDT 2021


Author: Nico Weber
Date: 2021-07-12T11:13:54-04:00
New Revision: 396f2e9d6d17d4288616218f07aa93daf01fbe5d

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

LOG: [lld/mac] Make tbd files in one test valid

No behavior change, but ld64 can't load .tbd files without the
trailing `...`, so include them to make it easier to run tests
with l64 too.

Added: 
    

Modified: 
    lld/test/MachO/dylink-ordinal.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/dylink-ordinal.s b/lld/test/MachO/dylink-ordinal.s
index 7edb218f7321..c1474455260c 100644
--- a/lld/test/MachO/dylink-ordinal.s
+++ b/lld/test/MachO/dylink-ordinal.s
@@ -39,6 +39,7 @@ current-version:  0001.001.1
 exports:
   - targets:      [ x86_64-macos ]
     symbols:      [ _foo ]
+...
 
 #--- libBar.tbd
 --- !tapi-tbd
@@ -54,6 +55,7 @@ current-version:  0001.001.1
 exports:
   - targets:      [ x86_64-macos ]
     symbols:      [ _bar ]
+...
 
 #--- main.s
 .section __TEXT,__text


        


More information about the llvm-commits mailing list