aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCSectionELF.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-17 20:03:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-17 20:03:54 +0000
commitf2dc4aa562e2478a73fe5aeeeec16b1e496a0642 (patch)
treead08e8d349da1a581a63782de47253d55166bb62 /include/llvm/MC/MCSectionELF.h
parent46c478e80255bb1475e712ebb119808a9d0b9e12 (diff)
downloadexternal_llvm-f2dc4aa562e2478a73fe5aeeeec16b1e496a0642.zip
external_llvm-f2dc4aa562e2478a73fe5aeeeec16b1e496a0642.tar.gz
external_llvm-f2dc4aa562e2478a73fe5aeeeec16b1e496a0642.tar.bz2
make isVirtualSection a virtual method on MCSection. Chris' suggestion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSectionELF.h')
-rw-r--r--include/llvm/MC/MCSectionELF.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSectionELF.h b/include/llvm/MC/MCSectionELF.h
index 5af5385..9463356 100644
--- a/include/llvm/MC/MCSectionELF.h
+++ b/include/llvm/MC/MCSectionELF.h
@@ -188,6 +188,7 @@ public:
void PrintSwitchToSection(const MCAsmInfo &MAI,
raw_ostream &OS) const;
virtual bool UseCodeAlign() const;
+ virtual bool isVirtualSection() const;
/// isBaseAddressKnownZero - We know that non-allocatable sections (like
/// debug info) have a base of zero.