[LLVMdev] need pointers navigating through metadata in llvm :-)

Duncan Sands baldrick at free.fr
Thu Sep 9 02:14:57 PDT 2010


Hi Jason,

> The proximate cause of the issue in our local version of llvm is that
> a Value is being written out, and the dump() of that value is actually
> not a value at all, but what looks like a reference to a function. So
> what happens is that  BitcodeWriter.cpp:WriteModuleConstants() is
> barfing, because this particular Value is not any of the variants that
> its made to handle.

does vanilla 2.8 or latest svn barf?  If so, that should anyways be fixed
since bitcode that passes the verifier shouldn't break the bitcode writer.
(Presumably it passes the verifier?)

Ciao,

Duncan.



More information about the llvm-dev mailing list