[PATCH] Fix the remainder of PR22762 (GDB is crashing on DW_OP_piece being used inside of DW_AT_frame_base)

Adrian Prantl aprantl at apple.com
Thu Mar 12 14:39:43 PDT 2015


[Just noticed that I forgot to rename MayUsePieceForSubRegMask in DwarfCompileUnit.]

The problem is that the TargetRegisterInfo tells us that the frame register is ebp, for which there is no separate register number, so it must be constructed from rbp. The DWARF backend doesn't know about what is in the upper half of rbp so it must mask out the upper bits.


http://reviews.llvm.org/D8233

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list