diff options
author | Wei Mi <wmi@google.com> | 2019-08-31 03:17:49 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2019-08-31 03:17:49 +0000 |
commit | 198009ae8db11d7c0b0517f17358870dc486fcfb (patch) | |
tree | 76b236db6f6d01ea1aaa92cfffa357b41b039ea8 /llvm/tools/llvm-profdata | |
parent | 798e59b81fb7a92cd5f3b1bb0761283f99adcd46 (diff) | |
download | bcm5719-llvm-198009ae8db11d7c0b0517f17358870dc486fcfb.tar.gz bcm5719-llvm-198009ae8db11d7c0b0517f17358870dc486fcfb.zip |
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.
llvm-svn: 370564
Diffstat (limited to 'llvm/tools/llvm-profdata')
-rw-r--r-- | llvm/tools/llvm-profdata/llvm-profdata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp index d3b7c2b2c80..a894d10c9c7 100644 --- a/llvm/tools/llvm-profdata/llvm-profdata.cpp +++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp @@ -637,7 +637,7 @@ static int merge_main(int argc, const char *argv[]) { cl::desc("Path to file containing the list of function symbols " "used to populate profile symbol list")); cl::opt<bool> CompressProfSymList( - "compress-prof-sym-list", cl::init(true), cl::Hidden, + "compress-prof-sym-list", cl::init(false), cl::Hidden, cl::desc("Compress profile symbol list before write it into profile. ")); cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n"); |