[PATCH] D92598: [lld][test] Handle long build path

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 12 16:45:22 PST 2020


thopre updated this revision to Diff 311417.
thopre edited the summary of this revision.
thopre added a comment.

Use --soname on the right line


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92598/new/

https://reviews.llvm.org/D92598

Files:
  lld/test/ELF/copy-relocation-zero-nonabs-addr.s


Index: lld/test/ELF/copy-relocation-zero-nonabs-addr.s
===================================================================
--- lld/test/ELF/copy-relocation-zero-nonabs-addr.s
+++ lld/test/ELF/copy-relocation-zero-nonabs-addr.s
@@ -1,6 +1,6 @@
 // REQUIRES: x86
 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/copy-relocation-zero-nonabs-addr.s -o %t1.o
-// RUN: ld.lld -Ttext=0 -o %t2.so --script=%p/Inputs/copy-relocation-zero-nonabs-addr.script %t1.o -shared
+// RUN: ld.lld -Ttext=0 --soname=t2.so -o %t2.so --script=%p/Inputs/copy-relocation-zero-nonabs-addr.script %t1.o -shared
 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t3.o
 // RUN: ld.lld %t2.so %t3.o -o %t4
 // RUN: llvm-readobj --symbols %t2.so | FileCheck --check-prefix=CHECKSO %s


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92598.311417.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201213/afd23c02/attachment.bin>


More information about the llvm-commits mailing list