From 198009ae8db11d7c0b0517f17358870dc486fcfb Mon Sep 17 00:00:00 2001 From: Wei Mi Date: Sat, 31 Aug 2019 03:17:49 +0000 Subject: 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 --- llvm/tools/llvm-profdata/llvm-profdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-profdata') 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 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"); -- cgit v1.2.3