mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-22 11:45:31 -04:00
5b4e1784b6
There is data racing to the static variable RecordIndex in index profile reader when merging in multiple threads. Make it a member variable in IndexedInstrProfReader to fix this. Differential Revision: https://reviews.llvm.org/D38431 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314990 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
338 B
Plaintext
12 lines
338 B
Plaintext
Test multi-thread merge of multiple profdata files.
|
|
|
|
RUN: llvm-profdata merge %p/Inputs/multiple-profdata-merge.proftext -o %t
|
|
RUN: llvm-profdata merge -j 4 %t %t %t %t -o %t_2
|
|
RUN: llvm-profdata show %t_2 | FileCheck %s
|
|
|
|
; CHECK:Total functions: 11
|
|
; CHECK:Maximum function count: 5600000
|
|
; CHECK:Maximum internal block count: 2800000
|
|
|
|
|