aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCSectionELF.h
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-13 21:08:56 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-13 21:08:56 +0000
commit4aa688e9973ec7e80ef60ecbc024c57e769b8cbf (patch)
treec678db29411c95308299cc9c35749aa777d5de1c /include/llvm/MC/MCSectionELF.h
parent2907542a3fbea1e322632e6b1558b70a83be5a62 (diff)
downloadexternal_llvm-4aa688e9973ec7e80ef60ecbc024c57e769b8cbf.zip
external_llvm-4aa688e9973ec7e80ef60ecbc024c57e769b8cbf.tar.gz
external_llvm-4aa688e9973ec7e80ef60ecbc024c57e769b8cbf.tar.bz2
Add a method to return if the ELF section contains only common symbols!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSectionELF.h')
-rw-r--r--include/llvm/MC/MCSectionELF.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSectionELF.h b/include/llvm/MC/MCSectionELF.h
index 00369f7..31e1e66 100644
--- a/include/llvm/MC/MCSectionELF.h
+++ b/include/llvm/MC/MCSectionELF.h
@@ -55,6 +55,9 @@ public:
/// ShouldPrintSectionType - Only prints the section type if supported
bool ShouldPrintSectionType(unsigned Ty) const;
+
+ /// IsCommon - True if this section contains only common symbols
+ bool IsCommon() const;
/// These are the section type and flags fields. An ELF section can have
/// only one Type, but can have more than one of the flags specified.