diff options
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 5fcfdb56fc..ab38f3158a 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -1552,10 +1552,8 @@ DIE *DwarfWriter::NewScopeVariable(DebugVariable *DV, CompileUnit *Unit) { // Add computation for variable. DIEBlock *Block = new DIEBlock(); if (Location.isRegister()) { - // FIXME - This is a real hack. Block->AddUInt(DW_FORM_data1, DW_OP_reg0 + Location.getRegister()); } else { - // FIXME - This is a real hack. Block->AddUInt(DW_FORM_data1, DW_OP_breg0 + Location.getRegister()); Block->AddUInt(DW_FORM_sdata, Location.getOffset()); } |