[LLVMdev] type mismatch mystery solved
Reid Spencer
rspencer at reidspencer.com
Mon Nov 13 13:43:17 PST 2006
Hi Robert,
On Mon, 2006-11-13 at 13:06 -0800, Robert Mykland wrote:
> Reid,
>
> I finally figured out why my types were mismatching in my hand-decoded
> bytecode example when it worked fine in my actual code.
Great!
> It turns out
> that I was not leaving out the extension bits when I was hand decoding
> the VBRs. D'oh!
Heh, its always the little things :)
> Everything matches up now.
Wonderful.
> Also figured out why the bcanalyzer is spitting out all those pointers
> to opaque. These types are forward references and they are getting
> printed out before they're resolved. Easy to fix.
Right. That makes sense. The reader uses opaque to handle forward
references until they are resolved.
Reid.
>
> -- Robert.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list