forked from OSchip/llvm-project
Don't pass address spaces to EmitULEB128IntValue.
llvm-svn: 129953
This commit is contained in:
parent
94ad6ac13c
commit
ea61f22dd3
|
@ -565,11 +565,11 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
|
|||
Streamer.EmitSLEB128IntValue(Offset);
|
||||
} else if (Reg < 64) {
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_offset + Reg, 1);
|
||||
Streamer.EmitULEB128IntValue(Offset, 1);
|
||||
Streamer.EmitULEB128IntValue(Offset);
|
||||
} else {
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_offset_extended, 1);
|
||||
Streamer.EmitULEB128IntValue(Reg, 1);
|
||||
Streamer.EmitULEB128IntValue(Offset, 1);
|
||||
Streamer.EmitULEB128IntValue(Reg);
|
||||
Streamer.EmitULEB128IntValue(Offset);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue