[PATCH] D49390: remove temporal file directory before testing

Yunlian Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 11:31:57 PDT 2018


yunlian created this revision.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, eraman, arichardson, emaste.
Herald added a reviewer: espindola.

This removes the %T/dwo directory before calling ld.lld in ELF/lto/thinlto-debug-fission.ll so that
files aren't left over from previous runs.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49390

Files:
  test/ELF/lto/thinlto-debug-fission.ll


Index: test/ELF/lto/thinlto-debug-fission.ll
===================================================================
--- test/ELF/lto/thinlto-debug-fission.ll
+++ test/ELF/lto/thinlto-debug-fission.ll
@@ -1,11 +1,11 @@
 ; REQUIRES: x86
 
 ; RUN: opt %s -o %t1.o
+; RUN: rm -rf %T/dwo
 
 ; Test to ensure that --plugin-opt=dwo_dir=$DIR creates .dwo files under $DIR
 ; RUN: ld.lld --plugin-opt=dwo_dir=%T/dwo -shared %t1.o -o /dev/null
 ; RUN: llvm-readobj -h %T/dwo/0.dwo | FileCheck %s
-; RUN: rm -rf %T/dwo
 
 ; CHECK: Format: ELF64-x86-64
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49390.155724.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/85946a15/attachment.bin>


More information about the llvm-commits mailing list