diff options
author | Nathan Slingerland <slingn@gmail.com> | 2015-12-16 21:45:43 +0000 |
---|---|---|
committer | Nathan Slingerland <slingn@gmail.com> | 2015-12-16 21:45:43 +0000 |
commit | 48dd080c77c6a6398906b6db73d015fee15d8591 (patch) | |
tree | 4ecca36c8ea7d92f85c74274579a16d277b75e13 /llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext | |
parent | 031bed291ee7feccd2272efac2f7fce98c8353de (diff) | |
download | bcm5719-llvm-48dd080c77c6a6398906b6db73d015fee15d8591.tar.gz bcm5719-llvm-48dd080c77c6a6398906b6db73d015fee15d8591.zip |
[PGO] Handle and report overflow during profile merge for all types of data
Summary: Surface counter overflow when merging profile data. Merging still occurs on overflow but counts saturate to the maximum representable value. Overflow is reported to the user.
Reviewers: davidxl, dnovillo, silvas
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D15547
llvm-svn: 255825
Diffstat (limited to 'llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext')
-rw-r--r-- | llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext b/llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext new file mode 100644 index 00000000000..a5486bbd819 --- /dev/null +++ b/llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext @@ -0,0 +1,7 @@ +_Z3bari:18446744073709551615:1000 + 1: 18446744073709551615 +_Z3fooi:18446744073709551615:1000 + 1: 18446744073709551615 +main:1000:0 + 1: 500 _Z3bari:18446744073709551615 + 2: 500 _Z3fooi:18446744073709551615 |