1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/tools/llvm-dwp
George Rimar 83e72a421b [lib/Object] - Minor API update for llvm::Decompressor.
I revisited Decompressor API (issue with it was triggered during D32865 review)
and found it is probably provides more then we really need.

Issue was about next method's signature:

Error decompress(SmallString<32> &Out);
It is too strict. At first I wanted to change it to decompress(SmallVectorImpl<char> &Out),
but then found it is still not flexible because sticks to SmallVector.

During reviews was suggested to use templating to simplify code. Patch do that.

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

llvm-svn: 303331
2017-05-18 08:00:01 +00:00
..
CMakeLists.txt [CMake] llvm-dwp depends on intrinsics_gen 2016-11-19 02:33:42 +00:00
DWPError.cpp llvm-dwp: Use llvm::Error to improve diagnostic quality/error handling in llvm-dwp 2016-05-12 19:59:54 +00:00
DWPError.h llvm-dwp: Add an abstraction for the DWP string pool 2016-05-23 16:32:11 +00:00
DWPStringPool.h llvm-dwp: Fix the build by moving DWPStringPool into the llvm namespace 2016-05-23 16:45:00 +00:00
llvm-dwp.cpp [lib/Object] - Minor API update for llvm::Decompressor. 2017-05-18 08:00:01 +00:00
LLVMBuild.txt