[lld] 7d549ac - [lld-macho][nfc] Rename output binary so it doesn't overwrite existing one

Vy Nguyen via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 06:56:55 PDT 2021


Author: Vy Nguyen
Date: 2021-10-25T09:55:40-04:00
New Revision: 7d549acbb69b428d07e4ffe1725179a9b557891d

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

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

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

Differential Revision: https://reviews.llvm.org/D112392

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/dead-strip.s b/lld/test/MachO/dead-strip.s
index b1fcdf3d57968..346aed4110564 100644
--- a/lld/test/MachO/dead-strip.s
+++ b/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


        


More information about the llvm-commits mailing list