llvm-project/llvm/test/tools/llvm-profdata/Inputs/multiple-profdata-merge.proftext
Rong Xu 289da65698 [ProfileData] Fix data racing in merging indexed profiles
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

llvm-svn: 314990
2017-10-05 17:05:20 +00:00

107 lines
869 B
Plaintext

# IR level Instrumentation Flag
:ir
foo
# Func Hash:
36982789018
# Num Counters:
4
# Counter Values:
700000
700000
0
0
foo
# Func Hash:
59188585735
# Num Counters:
6
# Counter Values:
400000
400000
0
0
0
0
foo
# Func Hash:
27904764724
# Num Counters:
3
# Counter Values:
200000
200000
0
foo
# Func Hash:
60466382370
# Num Counters:
6
# Counter Values:
0
100000
0
0
0
0
bar
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
0
foo2
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
0
foo3
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
0
foo4
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
0
foo5
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
0
foo1
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
100000
main
# Func Hash:
29212902728
# Num Counters:
2
# Counter Values:
1400000
14