[LLVMdev] memory bug triggered in getFoldedCast
Duncan Sands
baldrick at free.fr
Sat Feb 26 01:39:07 PST 2011
Hi Rob,
> My program is crashing somewhere in LLVM code. It's one of these
> C/C++ memory bugs that I don't have much experience with... having
> programmed too much in high level languages. I'm not sure how to
> track it down. If someone can tell me what could be getting free'd in
> the getFoldedCast function, that might help me. Here is the error
> when I run my program:
>
> bamboo(49749) malloc: *** error for object 0x102750a10: incorrect
> checksum for freed object - object was probably modified after being
> freed.
> *** set a breakpoint in malloc_error_break to debug
try running under valgrind.
Ciao, Duncan.
More information about the llvm-dev
mailing list