[PATCH] D13511: [mips] Use correct frame register for DWARF info when dynamically realigning the stack.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 16:54:54 PDT 2015


vkalintiris added a comment.

I accidentally submitted my reply without finishing it.

Don't you see any difference between the old and the new DWARF info files?

Here's what I get for the test2 subprogram and the char_local variable entries:

  <1><98>: Abbrev Number: 3 (DW_TAG_subprogram)
   <99>   DW_AT_low_pc      : 0x80
   <a1>   DW_AT_high_pc     : 0x47c
   <a5>   Unknown AT value: 3fe7: 1
   <a5>   DW_AT_frame_base  : 1 byte block: 6e         (DW_OP_reg30 (r30))
   <a7>   DW_AT_name        : (indirect string, offset: 0xd4): test2
   <ab>   DW_AT_decl_file   : 1
   <ac>   DW_AT_decl_line   : 15
   <ad>   DW_AT_prototyped  : 1
   <ad>   DW_AT_type        : <0x378>
   <b1>   DW_AT_external    : 1
  
  ...
  ...
  ...
  
  <2><c0>: Abbrev Number: 5 (DW_TAG_variable)
   <c1>   DW_AT_location    : 3 byte block: 8d b8 4    (DW_OP_breg29 (r29): 568)
   <c5>   DW_AT_name        : (indirect string, offset: 0x111): char_local
   <c9>   DW_AT_decl_file   : 1
   <ca>   DW_AT_decl_line   : 17
   <cb>   DW_AT_type        : <0x2a>


http://reviews.llvm.org/D13511





More information about the llvm-commits mailing list