summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2018-07-16 20:28:48 +0000
committerYunlian Jiang <yunlian@google.com>2018-07-16 20:28:48 +0000
commit588afe422e726bfa86837597218cb0555059d2f6 (patch)
treeda482f03769522daedc93054d9a8bf7f03adc9e7
parentb5ea4df0eb73a73426568f813ba465944233ad20 (diff)
downloadbcm5719-llvm-588afe422e726bfa86837597218cb0555059d2f6.tar.gz
bcm5719-llvm-588afe422e726bfa86837597218cb0555059d2f6.zip
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
-rw-r--r--lld/test/ELF/lto/thinlto-debug-fission.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/ELF/lto/thinlto-debug-fission.ll b/lld/test/ELF/lto/thinlto-debug-fission.ll
index 98c8bbda365..b779ad4a45f 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
OpenPOWER on IntegriCloud