mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
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:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user