diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-08-18 00:12:33 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-08-18 00:12:33 +0000 |
commit | eccffada338fe084676876138b2e5e183d708757 (patch) | |
tree | 6345d72788f7e4b081d914b4789ac3fb39d251e0 /llvm/test/LTO/Resolution | |
parent | 1fb2ecc9030c288fcbe32bca11c1b5a07414c13c (diff) | |
download | bcm5719-llvm-eccffada338fe084676876138b2e5e183d708757.tar.gz bcm5719-llvm-eccffada338fe084676876138b2e5e183d708757.zip |
[LTO] Change addSaveTemps API: do not add dot to the supplied prefix path
Summary:
It does not play well with directories (end up with a bunch of hidden
files).
Also, do not strip the 0 suffix for the first task, especially since
0 can be used by ThinLTO as well now.
Reviewers: tejohnson
Subscribers: mehdi_amini, pcc, llvm-commits
Differential Revision: https://reviews.llvm.org/D23612
llvm-svn: 279014
Diffstat (limited to 'llvm/test/LTO/Resolution')
-rw-r--r-- | llvm/test/LTO/Resolution/X86/alias.ll | 2 | ||||
-rw-r--r-- | llvm/test/LTO/Resolution/X86/comdat.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/LTO/Resolution/X86/alias.ll b/llvm/test/LTO/Resolution/X86/alias.ll index bd3fcb381b3..2056112e145 100644 --- a/llvm/test/LTO/Resolution/X86/alias.ll +++ b/llvm/test/LTO/Resolution/X86/alias.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as %s -o %t1.o ; RUN: llvm-as %p/Inputs/alias-1.ll -o %t2.o ; RUN: llvm-lto2 -o %t3.o %t2.o %t1.o -r %t2.o,a,px -r %t1.o,a, -r %t1.o,b,px -save-temps -; RUN: llvm-dis < %t3.o.0.preopt.bc -o - | FileCheck %s +; RUN: llvm-dis < %t3.o.0.0.preopt.bc -o - | FileCheck %s ; RUN: FileCheck --check-prefix=RES %s < %t3.o.resolution.txt ; CHECK-NOT: alias diff --git a/llvm/test/LTO/Resolution/X86/comdat.ll b/llvm/test/LTO/Resolution/X86/comdat.ll index 29bdcc325f3..5124b951bed 100644 --- a/llvm/test/LTO/Resolution/X86/comdat.ll +++ b/llvm/test/LTO/Resolution/X86/comdat.ll @@ -20,7 +20,7 @@ ; RUN: -r=%t2.o,a23,px \ ; RUN: -r=%t2.o,a24,px \ ; RUN: -r=%t2.o,a25,px -; RUN: llvm-dis %t3.o.2.internalize.bc -o - | FileCheck %s +; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" |