[PATCH] D112392: [lld-macho][nfc] Rename output binary so it doesn't overwrite existing one.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 24 19:47:52 PDT 2021


oontvoo created this revision.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
oontvoo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

`%t/basics` already exists - it would be nice to be able to examine it afterward


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112392

Files:
  lld/test/MachO/dead-strip.s


Index: lld/test/MachO/dead-strip.s
===================================================================
--- lld/test/MachO/dead-strip.s
+++ lld/test/MachO/dead-strip.s
@@ -67,8 +67,8 @@
 
 ## Extern symbols aren't stripped from executables with -export_dynamic
 # RUN: %lld -lSystem -dead_strip -export_dynamic -u _ref_private_extern_u \
-# RUN:     %t/basics.o -o %t/basics
-# RUN: llvm-objdump --syms --section-headers %t/basics | \
+# RUN:     %t/basics.o -o %t/basics-export-dyn
+# RUN: llvm-objdump --syms --section-headers %t/basics-export-dyn | \
 # RUN:     FileCheck --check-prefix=EXECDYN %s
 # EXECDYN-LABEL: Sections:
 # EXECDYN-LABEL: Name


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112392.381822.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211025/2d73ed19/attachment.bin>


More information about the llvm-commits mailing list