[LLVMdev] -debug and -print-machineinstrs broken

David Greene dag at cray.com
Fri Nov 13 14:23:53 PST 2009


On Friday 13 November 2009 15:49, David Greene wrote:
> On Friday 13 November 2009 15:17, you wrote:
> > > Are these known to be broken right now? I get failure when using
> > > either.
> > >
> > > $ llc -march=arm -print-machineinstrs hw.bc
> >
> > Seems due to David's patches.
>
> Ok, it's faulting in SlotTracker with what looks like a bad Function.  One
> of the Argument values is corrupted.
>
> I'm not abdicating responsibility, but at the moment I don't see the
> connection to my patches.  Anton, are you seeing something specific
> as to the cause?
>
> I will keep investigating.

Somehow a MachineIntr memoperand is pointing to an Instruction.  That's not
supposed to happen, is it?

I saw the symptom change after updating to ToT so I suspect this is a
rather subtle memory corruption problem.

                             -Dave



More information about the llvm-dev mailing list