forked from OSchip/llvm-project
parent
4ccce1b728
commit
5c30320c5f
|
@ -184,7 +184,6 @@ void AsmPrinter::EmitSectionOffset(const MCSymbol *Label,
|
|||
EmitLabelDifference(Label, SectionLabel, 4);
|
||||
}
|
||||
|
||||
|
||||
/// Emit a dwarf register operation.
|
||||
static void emitDwarfRegOp(const AsmPrinter &AP, int Reg) {
|
||||
assert(Reg >= 0);
|
||||
|
@ -201,8 +200,8 @@ static void emitDwarfRegOp(const AsmPrinter &AP, int Reg) {
|
|||
}
|
||||
|
||||
/// Emit an (double-)indirect dwarf register operation.
|
||||
static void emitDwarfRegOpIndirect(const AsmPrinter &AP,
|
||||
int Reg, int Offset, bool Deref) {
|
||||
static void emitDwarfRegOpIndirect(const AsmPrinter &AP, int Reg, int Offset,
|
||||
bool Deref) {
|
||||
assert(Reg >= 0);
|
||||
if (Reg < 32) {
|
||||
AP.OutStreamer.AddComment(
|
||||
|
@ -222,8 +221,8 @@ static void emitDwarfRegOpIndirect(const AsmPrinter &AP,
|
|||
/// Emit a dwarf register operation for describing
|
||||
/// - a small value occupying only part of a register or
|
||||
/// - a small register representing only part of a value.
|
||||
static void emitDwarfOpPiece(const AsmPrinter &AP,
|
||||
unsigned Size, unsigned Offset) {
|
||||
static void emitDwarfOpPiece(const AsmPrinter &AP, unsigned Size,
|
||||
unsigned Offset) {
|
||||
assert(Size > 0);
|
||||
if (Offset > 0) {
|
||||
AP.OutStreamer.AddComment("DW_OP_bit_piece");
|
||||
|
|
Loading…
Reference in New Issue