diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-07-21 21:41:15 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-07-21 21:41:15 +0000 |
commit | b8cc0544d258962ba32c2554e054d69996fe1f84 (patch) | |
tree | 77fc4b3fe0f4c5383cf1c09e3fe6cac16708376c /clang/lib/Basic/Targets/TCE.cpp | |
parent | 38c02bc7f5787be91a5b095fd84c7628288185a1 (diff) | |
download | bcm5719-llvm-b8cc0544d258962ba32c2554e054d69996fe1f84.tar.gz bcm5719-llvm-b8cc0544d258962ba32c2554e054d69996fe1f84.zip |
[ProfData] Detect if zlib is available
As discussed on [1], if the profile is compressed and llvm-profdata is not built with zlib support, the error message is not informative. Give a better error message if zlib is not available.
[1] http://lists.llvm.org/pipermail/llvm-dev/2017-July/115571.html
Reviewers: davidxl, dblaikie
Differential Revision: https://reviews.llvm.org/D35586
llvm-svn: 308789
Diffstat (limited to 'clang/lib/Basic/Targets/TCE.cpp')
0 files changed, 0 insertions, 0 deletions