[LLVMdev] argument registers and -g

Eric Christopher echristo at apple.com
Mon Jul 9 16:41:06 PDT 2012


On Jul 9, 2012, at 3:56 PM, reed kotler <rkotler at mips.com> wrote:

> On Mips, we have argument registers which are treated as scratch 
> registers with a live in.
> 
> This will not work with -g -O0 because the arguments to the function 
> will not be displayable after they are clobbered.
> 
> I'm guess others have solved this problem.
> 
> Is there a preferred way?

Not quite sure what you mean. Can you elaborate, perhaps by showing some dwarf or MachineInstrs?

-eric



More information about the llvm-dev mailing list