summaryrefslogtreecommitdiff
path: root/include/llvm/Object/COFF.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-09-28 20:57:30 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-09-28 20:57:30 +0000
commit13afc5eff2d7370ab486d5039886ab8bbf9039da (patch)
tree532b6e20b5de70506f5033520c1feafba9d855b9 /include/llvm/Object/COFF.h
parentf56dc281ceea53f191ee3fb773a44aa4e5dc76ce (diff)
downloadllvm-13afc5eff2d7370ab486d5039886ab8bbf9039da.tar.gz
llvm-13afc5eff2d7370ab486d5039886ab8bbf9039da.tar.bz2
llvm-13afc5eff2d7370ab486d5039886ab8bbf9039da.tar.xz
Object: Add isSection{Data,BSS}.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/COFF.h')
-rw-r--r--include/llvm/Object/COFF.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index d604b02d75..6a91008a40 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -106,6 +106,8 @@ protected:
virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const;
virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const;
virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const;
+ virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const;
+ virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const;
virtual error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb,
bool &Result) const;