[LLVMdev] Debug with DW_OP_piece and DW_OP_bit_piece
Micah.Villmow at amd.com
Thu Jul 7 13:25:14 PDT 2011
Thanks! I didn't see this in the 2.9 tree anywhere, looks like it has been added since then.
From: Devang Patel [mailto:dpatel at apple.com]
Sent: Thursday, July 07, 2011 1:13 PM
To: Villmow, Micah
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Debug with DW_OP_piece and DW_OP_bit_piece
On Jul 7, 2011, at 12:08 PM, Villmow, Micah wrote:
We are running into trouble with debug information in that we have registers along with sub registers, and they both point to the same dwarf register. Does LLVM support the DW_OP_piece/bit_piece debug information when allocating a sub-register from a super register? If not, is there any plan to add it? If not, would it be difficult to add?
It would not be too difficult to add for your target. Today, ARM code gen supports this. See ARMAsmPrinter::EmitDwarfRegOp().
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev