adds zstd support to Decompressor so lldb can work with zstd
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/test/Shell/ObjectFile/ELF/compressed-sections-zstd.yaml | ||
---|---|---|
19 | Delete .zdebug. It is unrelated to zstd | |
26 | Align | |
llvm/lib/Object/Decompressor.cpp | ||
48 | Use a switch so that in the case of new compression format, the code get notified due to -Wswitch | |
52 | Just use the return type of getReasonIfUnsupported as the error message | |
74 |
Comment Actions
Seems fine to me, though you may want to have a llvm test for the new functionality, given that the patch is exclusively changing llvm code.
Comment Actions
It seems like the new code doesn't check zstd version, thus breaking the build if you have something below 1.4.0.
Delete .zdebug. It is unrelated to zstd