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 | 36ef57d2eb8dfddb22e2e47aa0f9f18538522cbe (patch) | |
| tree | 25ba2e6c1535726da572fa418ef3727bc281f729 /llvm/lib/MC/MCContext.cpp | |
| parent | d2099116421867543a486752b30fe33599bfed16 (diff) | |
| download | bcm5719-llvm-36ef57d2eb8dfddb22e2e47aa0f9f18538522cbe.tar.gz bcm5719-llvm-36ef57d2eb8dfddb22e2e47aa0f9f18538522cbe.zip | |
Use MCSectionELF in places we know we have an ELF section.
llvm-svn: 118699
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
| -rw-r--r-- | llvm/lib/MC/MCContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp index 3b96264be04..bafa10a174a 100644 --- a/llvm/lib/MC/MCContext.cpp +++ b/llvm/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) |

