Updated ThinLTO test to not include forward or backward slash for testing

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

llvm-svn: 331419
This commit is contained in:
Rumeet Dhindsa
2018-05-03 00:28:51 +00:00
parent e74c354d12
commit b082a8790c
2 changed files with 6 additions and 4 deletions

View File

@@ -196,7 +196,9 @@ void BitcodeCompiler::add(BitcodeFile &F) {
std::tie(OldPrefix, NewPrefix) = Config->ThinLTOPrefixReplace.split(';');
// Create the empty files which, if indexed, will be overwritten later.
writeEmptyDistributedBuildOutputs(Obj.getName(), OldPrefix, NewPrefix, false);
if (Config->ThinLTOIndexOnly)
writeEmptyDistributedBuildOutputs(Obj.getName(), OldPrefix, NewPrefix,
false);
unsigned SymNum = 0;
std::vector<Symbol *> Syms = F.getSymbols();

View File

@@ -58,8 +58,8 @@
; The backend index for this module contains summaries from itself and
; Inputs/thinlto.ll, as it imports from the latter.
; BACKEND1: <MODULE_STRTAB_BLOCK
; BACKEND1-NEXT: <ENTRY {{.*}} record string = '{{.*}}/thinlto.ll.tmp{{.*}}.o'
; BACKEND1-NEXT: <ENTRY {{.*}} record string = '{{.*}}/thinlto.ll.tmp{{.*}}.o'
; BACKEND1-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp{{.*}}.o'
; BACKEND1-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp{{.*}}.o'
; BACKEND1-NEXT: </MODULE_STRTAB_BLOCK
; BACKEND1: <GLOBALVAL_SUMMARY_BLOCK
; BACKEND1: <VERSION
@@ -73,7 +73,7 @@
; The backend index for Input/thinlto.ll contains summaries from itself only,
; as it does not import anything.
; BACKEND2: <MODULE_STRTAB_BLOCK
; BACKEND2-NEXT: <ENTRY {{.*}} record string = '{{.*}}/thinlto.ll.tmp2.o'
; BACKEND2-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp2.o'
; BACKEND2-NEXT: </MODULE_STRTAB_BLOCK
; BACKEND2-NEXT: <GLOBALVAL_SUMMARY_BLOCK
; BACKEND2-NEXT: <VERSION