aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-05-24 10:46:43 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-05-24 10:46:43 +0000
commite9b2e19109d97d8951018d7647631ac7fe20b51c (patch)
tree9ec3e827ff5beb8d149444c0f367975c229ff107 /llvm/lib/Object/COFFObjectFile.cpp
parent672c710de4aaa64a99c8bc08a67f351c1fa932d6 (diff)
downloadllvm-e9b2e19109d97d8951018d7647631ac7fe20b51c.zip
llvm-e9b2e19109d97d8951018d7647631ac7fe20b51c.tar.gz
llvm-e9b2e19109d97d8951018d7647631ac7fe20b51c.tar.bz2
Recommit r270540
fix: forgot to commit the updated dwarfdump-test-zlib.elf-x86-64 Original commit message: [llvm-dwarfdump] - Teach dwarfdump to decompress debug sections in zlib style. Before this llvm-dwarfdump only recognized zlib-gnu compression style of headers, this patch adds support for zlib style. It looks reasonable to support both styles for dumping, even if we are not going to suport generating of deprecated gnu one. Differential revision: http://reviews.llvm.org/D20470 llvm-svn: 270543
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r--llvm/lib/Object/COFFObjectFile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp
index 4b6ab23..489c69c 100644
--- a/llvm/lib/Object/COFFObjectFile.cpp
+++ b/llvm/lib/Object/COFFObjectFile.cpp
@@ -292,6 +292,10 @@ uint64_t COFFObjectFile::getSectionAlignment(DataRefImpl Ref) const {
return Sec->getAlignment();
}
+bool COFFObjectFile::isSectionCompressed(DataRefImpl Sec) const {
+ return false;
+}
+
bool COFFObjectFile::isSectionText(DataRefImpl Ref) const {
const coff_section *Sec = toSec(Ref);
return Sec->Characteristics & COFF::IMAGE_SCN_CNT_CODE;