From 4283f4b81e8c1cbf5c7a7b51e949e109ae25ff8c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 10 Nov 2010 19:05:07 +0000 Subject: 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 --- lib/MC/MCContext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/MC/MCContext.cpp') 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) -- cgit v1.2.3