Temporarily omit MIPS floating point registers in DWARF.
I am struggling to find authoritative source for the mapping,
so disable them in the meantime so they do not break tests.
Change-Id: I37340179f5d2fe91f318b64ddf64a725ce96ab76
diff --git a/compiler/elf_writer_debug.cc b/compiler/elf_writer_debug.cc
index ee557fc..81f574f 100644
--- a/compiler/elf_writer_debug.cc
+++ b/compiler/elf_writer_debug.cc
@@ -495,6 +495,10 @@
pos = WriteOpReg(pos, Reg::ArmDp(value / 2).num());
break;
}
+ if (isa == kMips || isa == kMips64) {
+ // TODO: Find what the DWARF floating point register numbers are on MIPS.
+ break;
+ }
pos = WriteOpReg(pos, GetDwarfFpReg(isa, value).num());
if (piece == 0 && reg_hi.GetKind() == Kind::kInFpuRegisterHigh &&
reg_hi.GetValue() == reg_lo.GetValue()) {