mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
reduce #includage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78860 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3845e50ede
commit
d3c4486f46
@ -15,15 +15,14 @@
|
||||
#ifndef LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
|
||||
#define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/MC/SectionKind.h"
|
||||
|
||||
namespace llvm {
|
||||
class Mangler;
|
||||
class MCSection;
|
||||
class MCContext;
|
||||
class GlobalValue;
|
||||
class Mangler;
|
||||
class StringRef;
|
||||
class TargetMachine;
|
||||
class TargetAsmInfo;
|
||||
|
||||
@ -258,12 +257,14 @@ public:
|
||||
|
||||
/// getMachOSection - Return the MCSection for the specified mach-o section.
|
||||
/// This requires the operands to be valid.
|
||||
const MCSection *getMachOSection(StringRef Segment, StringRef Section,
|
||||
const MCSection *getMachOSection(const StringRef &Segment,
|
||||
const StringRef &Section,
|
||||
unsigned TypeAndAttributes,
|
||||
SectionKind K) const {
|
||||
return getMachOSection(Segment, Section, TypeAndAttributes, 0, K);
|
||||
}
|
||||
const MCSection *getMachOSection(StringRef Segment, StringRef Section,
|
||||
const MCSection *getMachOSection(const StringRef &Segment,
|
||||
const StringRef &Section,
|
||||
unsigned TypeAndAttributes,
|
||||
unsigned Reserved2, SectionKind K) const;
|
||||
|
||||
|
@ -511,7 +511,7 @@ getSectionForConstant(SectionKind Kind) const {
|
||||
|
||||
|
||||
const MCSection *TargetLoweringObjectFileMachO::
|
||||
getMachOSection(StringRef Segment, StringRef Section,
|
||||
getMachOSection(const StringRef &Segment, const StringRef &Section,
|
||||
unsigned TypeAndAttributes,
|
||||
unsigned Reserved2, SectionKind Kind) const {
|
||||
// FIXME: UNIQUE HERE.
|
||||
|
Loading…
x
Reference in New Issue
Block a user