diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-10 19:05:07 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-10 19:05:07 +0000 |
commit | 4283f4b81e8c1cbf5c7a7b51e949e109ae25ff8c (patch) | |
tree | 5eae757984e995d69734c0bb8235e3a693cf6637 /lib/MC/MCContext.cpp | |
parent | 3355c4e5986571da8f16fca060941e4020a4447b (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.cpp | 3 |
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) |