diff options
| author | Pavel Labath <labath@google.com> | 2017-12-15 14:23:58 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-12-15 14:23:58 +0000 |
| commit | e2867bc4a07b942724fa3be95c6c671b196fe1ae (patch) | |
| tree | 28b1d7e03a3c5313a17f7ae6ff86e31b920cc7d8 /lldb/unittests/ObjectFile | |
| parent | 786431231f8916e36477d4fba07ce158adddce4e (diff) | |
| download | bcm5719-llvm-e2867bc4a07b942724fa3be95c6c671b196fe1ae.tar.gz bcm5719-llvm-e2867bc4a07b942724fa3be95c6c671b196fe1ae.zip | |
ObjectFileELF: Add support for compressed sections
Summary:
We use the llvm decompressor to decompress SHF_COMPRESSED sections. This enables
us to read data from debug info sections, which are sometimes compressed,
particuarly in the split-dwarf case. This functionality is only available if
llvm is compiled with zlib support.
Reviewers: clayborg, zturner
Subscribers: emaste, mgorny, aprantl, lldb-commits
Differential Revision: https://reviews.llvm.org/D40616
llvm-svn: 320813
Diffstat (limited to 'lldb/unittests/ObjectFile')
| -rw-r--r-- | lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp b/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp index 16fa5f000a9..056799ee919 100644 --- a/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp +++ b/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp @@ -10,12 +10,13 @@ #include "Plugins/ObjectFile/ELF/ObjectFileELF.h" #include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h" +#include "TestingSupport/TestUtilities.h" #include "lldb/Core/Module.h" #include "lldb/Core/ModuleSpec.h" #include "lldb/Core/Section.h" #include "lldb/Host/HostInfo.h" -#include "TestingSupport/TestUtilities.h" #include "llvm/ADT/Optional.h" +#include "llvm/Support/Compression.h" #include "llvm/Support/FileUtilities.h" #include "llvm/Support/Path.h" #include "llvm/Support/Program.h" |

