[PATCH] D35586: [ProfData] Detect if zlib is available

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 15:18:27 PDT 2017


dblaikie added inline comments.


================
Comment at: test/tools/llvm-profdata/nocompress.test:1-5
+RUN: not llvm-profdata show %p/Inputs/compressed.profraw -o %t 2>&1 | FileCheck %s
+
+REQUIRES: nozlib
+
+CHECK: error: /Users/chenwj/Projects/llvm/test/tools/llvm-profdata/Inputs/compressed.profraw: Profile uses zlib compression but the profile reader was built without zlib support
----------------
Include some text here describing how to produce the input file - in case anyone needs to regenerate it later, etc.


https://reviews.llvm.org/D35586





More information about the llvm-commits mailing list