projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use MCSectionELF in places we know we have an ELF section.
[oota-llvm.git]
/
lib
/
MC
/
MCContext.cpp
diff --git
a/lib/MC/MCContext.cpp
b/lib/MC/MCContext.cpp
index 3b96264be043131e7d87b1c613fd87367ca6dee8..bafa10a174ab98d43707f8f544b5e9d2ba02234b 100644
(file)
--- 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)