Displaying 1 result from an estimated 1 matches for "charptrtype".
Did you mean:
chargertype
2010 Jun 12
1
[LLVMdev] Memory leak?
...BitCastInst(llvm::Value*,
llvm::Type const*, llvm::Twine const&, llvm::Instruction*) + 65
I insert extra two instructions to a byte code, the corresponding code is
quite simple:
LoadInst* ptrVal = new LoadInst(ptr, "foobar", false, next);
CastInst* ptrCast = new BitCastInst(ptrVal, charPtrType, "cast1", next);
If I comment out the CastInst statement, it runs fine. Any hint what is
wrong?
Thanks,
Neal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100611/1d8c5df7/attachment.html>