[PATCH] D111706: [lld-macho] Fix dangling string reference when adding frameworks
Kaining Zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 20 21:04:47 PDT 2021
PRESIDENT810 updated this revision to Diff 381141.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111706/new/
https://reviews.llvm.org/D111706
Files:
lld/test/MachO/lc-linker-option.ll
Index: lld/test/MachO/lc-linker-option.ll
===================================================================
--- lld/test/MachO/lc-linker-option.ll
+++ lld/test/MachO/lc-linker-option.ll
@@ -1,4 +1,4 @@
-; REQUIRES: x86, shell
+; REQUIRES: x86
; RUN: rm -rf %t; split-file %s %t
; RUN: llvm-as %t/framework.ll -o %t/framework.o
@@ -58,8 +58,8 @@
; RUN: llc %t/foo.ll -o %t/foo.o -filetype=obj
; RUN: mkdir -p %t/foo.framework/Versions/A
; RUN: llvm-ar rcs %t/foo.framework/Versions/A/foo %t/foo.o
-; RUN: ln -sf A %t/foo.framework/Versions/Current
-; RUN: ln -sf Versions/Current/foo %t/foo.framework/foo
+; RUN: cp %t/foo.framework/Versions/A/foo %t/foo.framework/foo
+; RUN: cp -r %t/foo.framework/Versions/A/ %t/foo.framework/Versions/Current/
; RUN: llc %t/objfile1.ll -o %t/objfile1.o -filetype=obj
; RUN: llc %t/objfile2.ll -o %t/objfile2.o -filetype=obj
; RUN: llc %t/main.ll -o %t/main.o -filetype=obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111706.381141.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/0b571f0c/attachment.bin>
More information about the llvm-commits
mailing list