]> granicus.if.org Git - llvm/commit
Recommit r292214 "[Support/Compression] - Change zlib API to return Error instead...
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 17 Jan 2017 15:45:07 +0000 (15:45 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 17 Jan 2017 15:45:07 +0000 (15:45 +0000)
commitef935cd26fa8b5556ae0a9e7349adf2fb4ca5f55
treecc7685d9fb9a403ae550f4d29ce46a82f8c06f85
parent9298246497bef59b93af4c6d53356b7647c311da
Recommit r292214 "[Support/Compression] - Change zlib API to return Error instead of custom status"

No any changes, will follow up with D28807 commit containing APLi change for clang
to fix build issues happened.

Original commit message:
[Support/Compression] - Change zlib API to return Error instead of custom status.

Previously API returned custom enum values.
Patch changes it to return Error with string description.
That should help users to report errors in universal way.

Differential revision: https://reviews.llvm.org/D28684

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292226 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compression.h
lib/MC/ELFObjectWriter.cpp
lib/Object/Decompressor.cpp
lib/ProfileData/InstrProf.cpp
lib/Support/Compression.cpp
unittests/Support/CompressionTest.cpp