mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Pass a MCObjectStreamer instead of a MCStreamer when possible.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208569 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a139d7a29
commit
7624b86cfc
@ -114,7 +114,7 @@ static inline const MCExpr *MakeStartMinusEndExpr(const MCStreamer &MCOS,
|
||||
// in the LineSection.
|
||||
//
|
||||
static inline void
|
||||
EmitDwarfLineTable(MCStreamer *MCOS, const MCSection *Section,
|
||||
EmitDwarfLineTable(MCObjectStreamer *MCOS, const MCSection *Section,
|
||||
const MCLineSection::MCLineEntryCollection &LineEntries) {
|
||||
unsigned FileNum = 1;
|
||||
unsigned LastLine = 1;
|
||||
@ -923,20 +923,20 @@ namespace {
|
||||
void EmitCompactUnwind(MCStreamer &streamer,
|
||||
const MCDwarfFrameInfo &frame);
|
||||
|
||||
const MCSymbol &EmitCIE(MCStreamer &streamer,
|
||||
const MCSymbol &EmitCIE(MCObjectStreamer &streamer,
|
||||
const MCSymbol *personality,
|
||||
unsigned personalityEncoding,
|
||||
const MCSymbol *lsda,
|
||||
bool IsSignalFrame,
|
||||
unsigned lsdaEncoding,
|
||||
bool IsSimple);
|
||||
MCSymbol *EmitFDE(MCStreamer &streamer,
|
||||
MCSymbol *EmitFDE(MCObjectStreamer &streamer,
|
||||
const MCSymbol &cieStart,
|
||||
const MCDwarfFrameInfo &frame);
|
||||
void EmitCFIInstructions(MCStreamer &streamer,
|
||||
void EmitCFIInstructions(MCObjectStreamer &streamer,
|
||||
ArrayRef<MCCFIInstruction> Instrs,
|
||||
MCSymbol *BaseLabel);
|
||||
void EmitCFIInstruction(MCStreamer &Streamer,
|
||||
void EmitCFIInstruction(MCObjectStreamer &Streamer,
|
||||
const MCCFIInstruction &Instr);
|
||||
};
|
||||
|
||||
@ -987,7 +987,7 @@ static void EmitEncodingByte(MCStreamer &Streamer, unsigned Encoding,
|
||||
Streamer.EmitIntValue(Encoding, 1);
|
||||
}
|
||||
|
||||
void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
|
||||
void FrameEmitterImpl::EmitCFIInstruction(MCObjectStreamer &Streamer,
|
||||
const MCCFIInstruction &Instr) {
|
||||
int dataAlignmentFactor = getDataAlignmentFactor(Streamer);
|
||||
bool VerboseAsm = Streamer.isVerboseAsm();
|
||||
@ -1139,7 +1139,7 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
|
||||
|
||||
/// EmitFrameMoves - Emit frame instructions to describe the layout of the
|
||||
/// frame.
|
||||
void FrameEmitterImpl::EmitCFIInstructions(MCStreamer &streamer,
|
||||
void FrameEmitterImpl::EmitCFIInstructions(MCObjectStreamer &streamer,
|
||||
ArrayRef<MCCFIInstruction> Instrs,
|
||||
MCSymbol *BaseLabel) {
|
||||
for (unsigned i = 0, N = Instrs.size(); i < N; ++i) {
|
||||
@ -1234,7 +1234,7 @@ void FrameEmitterImpl::EmitCompactUnwind(MCStreamer &Streamer,
|
||||
Streamer.EmitIntValue(0, Size); // No LSDA
|
||||
}
|
||||
|
||||
const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer,
|
||||
const MCSymbol &FrameEmitterImpl::EmitCIE(MCObjectStreamer &streamer,
|
||||
const MCSymbol *personality,
|
||||
unsigned personalityEncoding,
|
||||
const MCSymbol *lsda,
|
||||
@ -1351,7 +1351,7 @@ const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer,
|
||||
return *sectionStart;
|
||||
}
|
||||
|
||||
MCSymbol *FrameEmitterImpl::EmitFDE(MCStreamer &streamer,
|
||||
MCSymbol *FrameEmitterImpl::EmitFDE(MCObjectStreamer &streamer,
|
||||
const MCSymbol &cieStart,
|
||||
const MCDwarfFrameInfo &frame) {
|
||||
MCContext &context = streamer.getContext();
|
||||
|
Loading…
Reference in New Issue
Block a user