[lldb] Support compressed CTF
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 13 Jul 2023 21:36:56 +0000 (14:36 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 13 Jul 2023 22:10:25 +0000 (15:10 -0700)
commit0e285a13eb7f25d7609d6795fb2f3439c8b1c270
tree545016c2706343b6b57c49ce6e176202ee4646d8
parent6504d87fc0c89fc584c2128355a14a07ed385c5b
[lldb] Support compressed CTF

Add support for compressed CTF data. The flags in the header can
indicate whether the CTF body is compressed with zlib deflate. This
patch supports inflating the data before parsing.

Differential revision: https://reviews.llvm.org/D155221
lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.cpp
lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.h
lldb/test/API/macosx/ctf/Makefile
lldb/test/API/macosx/ctf/TestCTF.py