llvm.org GIT mirror llvm / d3c4486
reduce #includage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78860 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 11 years ago
2 changed file(s) with 7 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1414 #ifndef LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
1515 #define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
1616
17 #include "llvm/ADT/SmallVector.h"
18 #include "llvm/ADT/StringMap.h"
1917 #include "llvm/MC/SectionKind.h"
2018
2119 namespace llvm {
20 class Mangler;
2221 class MCSection;
2322 class MCContext;
2423 class GlobalValue;
25 class Mangler;
24 class StringRef;
2625 class TargetMachine;
2726 class TargetAsmInfo;
2827
257256
258257 /// getMachOSection - Return the MCSection for the specified mach-o section.
259258 /// This requires the operands to be valid.
260 const MCSection *getMachOSection(StringRef Segment, StringRef Section,
259 const MCSection *getMachOSection(const StringRef &Segment,
260 const StringRef &Section,
261261 unsigned TypeAndAttributes,
262262 SectionKind K) const {
263263 return getMachOSection(Segment, Section, TypeAndAttributes, 0, K);
264264 }
265 const MCSection *getMachOSection(StringRef Segment, StringRef Section,
265 const MCSection *getMachOSection(const StringRef &Segment,
266 const StringRef &Section,
266267 unsigned TypeAndAttributes,
267268 unsigned Reserved2, SectionKind K) const;
268269
510510
511511
512512 const MCSection *TargetLoweringObjectFileMachO::
513 getMachOSection(StringRef Segment, StringRef Section,
513 getMachOSection(const StringRef &Segment, const StringRef &Section,
514514 unsigned TypeAndAttributes,
515515 unsigned Reserved2, SectionKind Kind) const {
516516 // FIXME: UNIQUE HERE.