diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2016-05-05 18:31:00 +0000 | 
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2016-05-05 18:31:00 +0000 | 
| commit | 1df2338bb62870b7afbb900813570d68d2690a1f (patch) | |
| tree | bdc4709c83ae62039729841f567e836ae161207d /llvm/test/tools | |
| parent | 07fa815c651b09f29bb86b3caebdeacf77eb0eab (diff) | |
| download | bcm5719-llvm-1df2338bb62870b7afbb900813570d68d2690a1f.tar.gz bcm5719-llvm-1df2338bb62870b7afbb900813570d68d2690a1f.zip | |
Revert "[ThinLTO] Emit individual index files for distributed backends"
MemorySanitizer: use-of-uninitialized-value in lib/Bitcode/Writer/BitcodeWriter.cpp:364:70
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/12544/steps/check-llvm%20msan/logs/stdio
This reverts commit 0c4a898ea550699d1b2f4fe3767251c8f9a48d52.
llvm-svn: 268660
Diffstat (limited to 'llvm/test/tools')
| -rw-r--r-- | llvm/test/tools/gold/X86/thinlto.ll | 36 | 
1 files changed, 1 insertions, 35 deletions
| diff --git a/llvm/test/tools/gold/X86/thinlto.ll b/llvm/test/tools/gold/X86/thinlto.ll index 09bf21d4a82..4bf8aa68aa5 100644 --- a/llvm/test/tools/gold/X86/thinlto.ll +++ b/llvm/test/tools/gold/X86/thinlto.ll @@ -21,8 +21,7 @@  ; RUN:    --plugin-opt=thinlto \  ; RUN:    --plugin-opt=thinlto-index-only \  ; RUN:    -shared %t.o %t2.o -o %t3 -; RUN: llvm-bcanalyzer -dump %t.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND1 -; RUN: llvm-bcanalyzer -dump %t2.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND2 +; RUN: llvm-bcanalyzer -dump %t3.thinlto.bc | FileCheck %s --check-prefix=COMBINED  ; RUN: not test -e %t3  ; Ensure gold generates an index as well as a binary by default in ThinLTO mode. @@ -54,39 +53,6 @@  ; NM: T f  ; NM2: T {{f|g}} -; 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 = '{{.*}}/test/tools/gold/X86/Output/thinlto.ll.tmp{{.*}}.o' -; BACKEND1-NEXT: <ENTRY {{.*}} record string = '{{.*}}/test/tools/gold/X86/Output/thinlto.ll.tmp{{.*}}.o' -; BACKEND1-NEXT: </MODULE_STRTAB_BLOCK -; BACKEND1-NEXT: <GLOBALVAL_SUMMARY_BLOCK -; BACKEND1-NEXT: <VERSION -; BACKEND1-NEXT: <COMBINED -; BACKEND1-NEXT: <COMBINED -; BACKEND1-NEXT: </GLOBALVAL_SUMMARY_BLOCK -; BACKEND1-NEXT: <VALUE_SYMTAB -; Check that the format is: op0=valueid, op1=offset, op2=funcguid, -; where funcguid is the lower 64 bits of the function name MD5. -; BACKEND1-NEXT: <COMBINED_ENTRY abbrevid={{[0-9]+}} op0={{1|2}} op1={{-3706093650706652785|-5300342847281564238}} -; BACKEND1-NEXT: <COMBINED_ENTRY abbrevid={{[0-9]+}} op0={{1|2}} op1={{-3706093650706652785|-5300342847281564238}} -; BACKEND1-NEXT: </VALUE_SYMTAB - -; 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 = '{{.*}}/test/tools/gold/X86/Output/thinlto.ll.tmp2.o' -; BACKEND2-NEXT: </MODULE_STRTAB_BLOCK -; BACKEND2-NEXT: <GLOBALVAL_SUMMARY_BLOCK -; BACKEND2-NEXT: <VERSION -; BACKEND2-NEXT: <COMBINED -; BACKEND2-NEXT: </GLOBALVAL_SUMMARY_BLOCK -; BACKEND2-NEXT: <VALUE_SYMTAB -; Check that the format is: op0=valueid, op1=offset, op2=funcguid, -; where funcguid is the lower 64 bits of the function name MD5. -; BACKEND2-NEXT: <COMBINED_ENTRY abbrevid={{[0-9]+}} op0=1 op1=-5300342847281564238 -; BACKEND2-NEXT: </VALUE_SYMTAB -  ; COMBINED: <MODULE_STRTAB_BLOCK  ; COMBINED-NEXT: <ENTRY {{.*}} record string = '{{.*}}/test/tools/gold/X86/Output/thinlto.ll.tmp{{.*}}.o'  ; COMBINED-NEXT: <ENTRY {{.*}} record string = '{{.*}}/test/tools/gold/X86/Output/thinlto.ll.tmp{{.*}}.o' | 

