From 588afe422e726bfa86837597218cb0555059d2f6 Mon Sep 17 00:00:00 2001 From: Yunlian Jiang Date: Mon, 16 Jul 2018 20:28:48 +0000 Subject: [PATCH] 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 llvm-svn: 337210 --- lld/test/ELF/lto/thinlto-debug-fission.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/ELF/lto/thinlto-debug-fission.ll b/lld/test/ELF/lto/thinlto-debug-fission.ll index 98c8bbd..b779ad4 100644 --- a/lld/test/ELF/lto/thinlto-debug-fission.ll +++ b/lld/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 -- 2.7.4