aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-10 19:05:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-10 19:05:07 +0000
commit4283f4b81e8c1cbf5c7a7b51e949e109ae25ff8c (patch)
tree5eae757984e995d69734c0bb8235e3a693cf6637 /lib/MC/MCContext.cpp
parent3355c4e5986571da8f16fca060941e4020a4447b (diff)
Use MCSectionELF in places we know we have an ELF section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCContext.cpp')
-rw-r--r--lib/MC/MCContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp
index 3b96264be0..bafa10a174 100644
--- a/lib/MC/MCContext.cpp
+++ b/lib/MC/MCContext.cpp
@@ -148,8 +148,7 @@ getMachOSection(StringRef Segment, StringRef Section,
Reserved2, Kind);
}
-
-const MCSection *MCContext::
+const MCSectionELF *MCContext::
getELFSection(StringRef Section, unsigned Type, unsigned Flags,
SectionKind Kind, unsigned EntrySize) {
if (ELFUniquingMap == 0)