mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Revert "Add bool to DebugLocDwarfExpression to control emitting comments."
This reverts commit 0037b6bcbc874aa1b93d7ce3ad8dba3753ee2d9d (r237827). David Blaikie suggested some alternatives to this which are better. Reverting to apply a better solution later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -185,8 +185,7 @@ void AsmPrinter::emitSectionOffset(const MCSymbol *Label) const {
|
||||
void AsmPrinter::EmitDwarfRegOp(ByteStreamer &Streamer,
|
||||
const MachineLocation &MLoc) const {
|
||||
DebugLocDwarfExpression Expr(*MF->getSubtarget().getRegisterInfo(),
|
||||
getDwarfDebug()->getDwarfVersion(),
|
||||
OutStreamer->hasRawTextSupport(), Streamer);
|
||||
getDwarfDebug()->getDwarfVersion(), Streamer);
|
||||
const MCRegisterInfo *MRI = MMI->getContext().getRegisterInfo();
|
||||
int Reg = MRI->getDwarfRegNum(MLoc.getReg(), false);
|
||||
if (Reg < 0) {
|
||||
|
Reference in New Issue
Block a user