[PATCH] D35586: [ProfData] Detect if zlib is available
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 16:30:15 PDT 2017
davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/ProfileData/InstrProf.cpp:435
if (isCompressed) {
+ if (!llvm::zlib::isAvailable()) {
+ return make_error<InstrProfError>(instrprof_error::zlib_unavailable);
----------------
remove {} here.
https://reviews.llvm.org/D35586
More information about the llvm-commits
mailing list