This is an archive of the discontinued LLVM Phabricator instance.

[Object] Add zstd decompression support to Decompressor
ClosedPublic

Authored by MaskRay on Sep 17 2022, 4:06 PM.

Details

Summary

llvm::object::Decompressor is used by many DWARF consumers like llvm-dwarfdump,
llvm-dwp, llvm-symbolizer. Add tests to them. The lldb test can be left to
D133530.

Diff Detail

Event Timeline

MaskRay created this revision.Sep 17 2022, 4:06 PM
MaskRay requested review of this revision.Sep 17 2022, 4:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2022, 4:06 PM

(please include me in review of compression/decompression related stuff in LLVM - as the original author of the functionality in LLVM & someone who's reviewed/been involved in most of the changes since)

dblaikie accepted this revision.Sep 17 2022, 9:31 PM

Looks good to me - thanks for the extra test coverage! (though I'm also OK without it - I figure we don't have to test generic functionality in every user of it (like we wouldn't test every symbolizing feature in both llvm-symbolizer and llvm-addr2line, for instance) - but it's lightweight/easy enough, I guess)

This revision is now accepted and ready to land.Sep 17 2022, 9:31 PM

(please include me in review of compression/decompression related stuff in LLVM - as the original author of the functionality in LLVM & someone who's reviewed/been involved in most of the changes since)

Ah, sorry:( I just copied the original reviewer list but I do know you should be listed.

This revision was landed with ongoing or failed builds.Sep 19 2022, 11:41 AM
This revision was automatically updated to reflect the committed changes.