[lld] r337210 - remove temporal file directory before testing in thinlto-debug-fission.ll

Yunlian Jiang via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 13:28:49 PDT 2018


Author: yunlian
Date: Mon Jul 16 13:28:48 2018
New Revision: 337210

URL: http://llvm.org/viewvc/llvm-project?rev=337210&view=rev
Log:
remove temporal  file directory before testing in thinlto-debug-fission.ll

Summary:
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.

Reviewers: espindola, pcc

Reviewed By: pcc

Subscribers: inglorion, emaste, arichardson, eraman, steven_wu, dexonsmith, llvm-commits

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

Modified:
    lld/trunk/test/ELF/lto/thinlto-debug-fission.ll

Modified: lld/trunk/test/ELF/lto/thinlto-debug-fission.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thinlto-debug-fission.ll?rev=337210&r1=337209&r2=337210&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto-debug-fission.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto-debug-fission.ll Mon Jul 16 13:28:48 2018
@@ -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
 




More information about the llvm-commits mailing list