[LLVMdev] ValueMapper question: no type mapping for GlobalValue?

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Fri Jan 13 07:14:47 PST 2012


> I can reproduce this consistently, but only under an extremely large pile of
> code :-)  I haven't tried to strip it down to minimal a test case yet, but I
> will.  One salient difference with the code you've provided is that in my
> code, @a is a struct type.  However, changing the example to use a minimal
> structure doesn't trigger the assertion failure.

Is the example something you can share even in unreduced for?

> But I'm still curious: why doesn't the value mapper do type mapping on global
> variables?

I am not sure. I would probably have to look at a failing example to
know what is going on.

Cheers,
Rafael



More information about the llvm-dev mailing list