]> granicus.if.org Git - llvm/commit
Fix some errors introduced by rL370563 which were not exposed on my local machine.
authorWei Mi <wmi@google.com>
Sat, 31 Aug 2019 03:17:49 +0000 (03:17 +0000)
committerWei Mi <wmi@google.com>
Sat, 31 Aug 2019 03:17:49 +0000 (03:17 +0000)
commit75b02da89fa698975839a67e791376197ef55d04
tree973cb565f3cb37546b81fdead514d2643fb57de7
parent5f1543dfbd7cd9a280a982354bdb030ecd05bea2
Fix some errors introduced by rL370563 which were not exposed on my local machine.
1. zlib::compress accept &size_t but the param is an uint64_t.
2. Some systems don't have zlib installed. Don't use compression by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370564 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/SampleProf.h
lib/ProfileData/SampleProf.cpp
tools/llvm-profdata/llvm-profdata.cpp